Description Usage Arguments Value Examples
Accepts two fnAnot charts as args, does z score and p value calculations on them and returns a data.frame with important data. A flag, geneInfo, is provided in case the user wants to get information about the intersection and union of genes corresponding to the individual GO terms. Importantly, this function does some implicit thresholding: only terms with a minimum of 'cutoff' genes are compared, and any term present in one list but not the other is discarded.
1 | compareZscores(setA, setB, geneInfo = FALSE, cutoff = 10)
|
setA |
FunctionalAnnotationChart to compare |
setB |
FunctionalAnnotationChart to compare |
geneInfo |
Whether to add gene intersection and union info to the data.frame |
cutoff |
The minimum number of genes to threshold terms by |
A data.frame with columns: Term, Zscore.A, Zscore.B, ComparedZ, Pvalue (optionally geneUnion, geneIntersect as well, which are comma-separated strings).
1 2 3 4 5 6 | data(funChart1)
data(funChart2)
cz = compareZscores(funChart1, funChart2)
str(cz)
cz = compareZscores(funChart1, funChart2, geneInfo = TRUE)
str(cz)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.