term_similarity: Similarity between terms based on the overlap of genes

View source: R/similarity_by_overlap.R

term_similarityR Documentation

Similarity between terms based on the overlap of genes

Description

Similarity between terms based on the overlap of genes

Usage

term_similarity(gl, method = c("kappa", "jaccard", "dice", "overlap"), all = NULL, remove_negative = TRUE)

Arguments

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

Details

The definition of the four similarity measurements can be found at https://jokergoo.github.io/simplifyEnrichment_supplementary/supplS01_coefficient_definition/supplS01_coefficient_definition.html .

Value

A symmetric matrix.

Examples

# There is no example
NULL


jokergoo/simplifyEnrichment documentation built on Nov. 3, 2023, 2:57 p.m.