getOverlapDF: Get pairwise overlap significance for a list

View source: R/DEG_list_helper.R

getOverlapDFR Documentation

Get pairwise overlap significance for a list

Description

Calculate genelist set overlap (replaces pairsOverlap). Metric : hypergeometric test p value, enrichment factor, tanimoto coef.

Usage

getOverlapDF(gls, tgls, unique_combn = FALSE)

Arguments

gls

Unnested list of genes

tgls

List of gene space for each entry in gls

unique_combn

Only return unique combination (no replicates) Default FALSE, will be set to TRUE in later versions

Value

dataframe

Examples

## Not run: 
pairdf <- getOverlapDF(geneList$up, geneList$to)
pairm <- reshape2::acast(pairdf, ix1 ~ ix2, value.var = "ef")

## End(Not run)

LittleHeronCodes/Lazy2 documentation built on April 20, 2024, 11:24 p.m.