Description Usage Arguments Value Author(s) References See Also Examples
View source: R/functions-for-SetMethods-Sims.R
This function is used to obtain a single data frame with the p-values or
q-values from one of the specific gene-set analysis methods, from a
SetMethodsSims
object which has the results from simulated datasets.
1 | extract.sims.method(object, method)
|
object |
Object of the class |
method |
Character string giving the method used for extraction, and whether p-values
or q-values are extracted. The string should be one of the column names
of the data frame resulting from the |
An object of the class SetMethodsSims
. See
SetMethodsSims
for more details.
Simina M. Boca, Giovanni Parmigiani.
Boca SM, Kinzler KW, Velculescu VE, Vogelstein B, Parmigiani G. Patient-oriented gene-set analysis for cancer mutation data. Genome Biology. DOI:10.1186/gb-2010-11-11-r112
SetMethodsSims-class
,
cma.set.sim
,
cma.set.stat
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
##Note that this takes a few minutes to run:
library(KEGG.db)
data(ParsonsGBM08)
data(EntrezID2Name)
setIDs <- c("hsa00250", "hsa05213")
set.seed(831984)
ResultsSim <-
sim.data.p.values(cma.alter = GeneAlterGBM,
cma.cov = GeneCovGBM,
cma.samp = GeneSampGBM,
GeneSets = KEGGPATHID2EXTID[setIDs],
ID2name = EntrezID2Name,
nr.iter = 2,
pass.null = TRUE,
perc.samples = c(75, 95),
spiked.set.sizes = 50,
perm.null.method = TRUE,
pass.null.method = TRUE)
ResultsSim
extract.sims.method(ResultsSim, "p.values.perm.null")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.