term_similarity: Similarity between terms based on the overlap of genes

Description Usage Arguments Details Value Examples

View source: R/similarity_by_overlap.R

Description

Similarity between terms based on the overlap of genes

Usage

1
term_similarity(gl, method = c("kappa", "jaccard", "dice", "overlap"))

Arguments

gl

A list of genes that are in the terms.

method

The similarity measurement.

Details

The definition of the four similarity measurements can be found at https://simplifyenrichment.github.io/supplementary/suppl1_coefficient_definition/suppl1_coefficient_definition.html .

Value

A symmetric matrix.

Examples

1
2
# There is no example
NULL

simplifyEnrichment documentation built on Nov. 8, 2020, 5:07 p.m.