enrich.test: fisher's exact test and hypergeometric test for gene set

Description Usage Arguments Value Author(s)

View source: R/enrichment_func.r

Description

This fxn calculates statistics using fisher's exact test and hypergeometric test given a set of genes and gene set

Usage

1
2
3
4
5
6
7
enrich.test(
  PathGenes,
  interestGenes,
  totalGenes,
  comet_exact_test = F,
  mutmatplot = T
)

Arguments

PathGenes

a vector of genes belonging to a pathway

interestGenes

a vector of genes of interest

totalGenes

a vector of background genes

comet_exact_test

logical for comet exact test of mutual exclusive(requires package cometExactTest)

mutmatplot

plot mutation mat for cometExactTest result

Value

a list

Author(s)

guangchun


htc502/ewrefxn documentation built on Feb. 2, 2020, 9:14 a.m.