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")
)

Arguments

result

A data frame containing GO term IDs and ontologies.

sim.cutoff

A numeric value for the similarity cutoff (default: 0).

measure.method

A character vector specifying the semantic similarity measure method (default: c("Wang", "Resnik", "Rel", "Jiang", "Lin", "TCSS")).

Value

A data frame containing pairs of GO terms and their similarity values.

Author

Xiaotao Shen shenxt1990@outlook.com

Examples

if (FALSE) {
# Assuming `result` is your data frame containing GO term IDs and ontologies.
similarity_matrix <- get_go_result_sim(result = result)
}