This function allows for the execution of pathway enrichment analysis and measurement of semantic similarity among Gene Ontology (GO) terms.
get_go_result_sim(
result,
sim.cutoff = 0,
measure.method = c("Wang", "Resnik", "Rel", "Jiang", "Lin", "TCSS")
)
A data frame containing GO term IDs and ontologies.
A numeric value for the similarity cutoff (default: 0).
A character vector specifying the semantic similarity measure method (default: c("Wang", "Resnik", "Rel", "Jiang", "Lin", "TCSS")).
A data frame containing pairs of GO terms and their similarity values.
if (FALSE) {
# Assuming `result` is your data frame containing GO term IDs and ontologies.
similarity_matrix <- get_go_result_sim(result = result)
}