gsListFisherTestCore | R Documentation |
Core algorithm to perform Fisher's exact test on a list of gene set
gsListFisherTestCore(
genes,
geneSetGenesList,
universe,
makeUniqueNonNA = TRUE,
checkUniverse = TRUE,
useEASE = FALSE
)
genes |
Character vector, a collection of genes of which over-representation of the gene set is tested |
geneSetGenesList |
A list of character vector, genes belonging to each gene set |
universe |
Character vector, universe of genes |
makeUniqueNonNA |
Logical, whether genes, geneSetGenes, and universe should be filtered to remove NA and made unique. The default is set to |
checkUniverse |
Logical, if |
useEASE |
Logical, whether to use the EASE method to report the p-value. This function performs one-sided Fisher's exact test to test the over-representation of the genes given as If |
A list of lists, of the same length as the input geneSetGenesList, each list consisting of three elements
p The p-value of one-sided (over-representation of the Fisher's test)
gsEffectiveSize Gene-set's effective size, namely number of genes that are in the universe
hits Character vector, genes that are found in the gene sets
Hosack, Douglas A., Glynn Dennis, Brad T. Sherman, H. Clifford Lane, and Richard A. Lempicki. Identifying Biological Themes within Lists of Genes with EASE. Genome Biology 4 (2003): R70. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1186/gb-2003-4-10-r70")}
gsFisherTestCore
myGenes <- LETTERS[1:3]
myGeneSet1 <- LETTERS[1:6]
myGeneSet2 <- LETTERS[4:7]
myUniverse <- LETTERS
gsListFisherTestCore(myGenes, list(myGeneSet1, myGeneSet2), myUniverse)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.