View source: R/similarity_by_overlap.R
term_similarity | R Documentation |
Similarity between terms based on the overlap of genes
term_similarity(gl, method = c("kappa", "jaccard", "dice", "overlap"), all = NULL, remove_negative = TRUE)
gl |
A list of genes that are in the terms. |
method |
The similarity measurement. |
all |
The universe set. |
remove_negative |
If the value is negative, reset to zero |
The definition of the four similarity measurements can be found at https://jokergoo.github.io/simplifyEnrichment_supplementary/supplS01_coefficient_definition/supplS01_coefficient_definition.html .
A symmetric matrix.
# There is no example
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.