cma.set.sim(cma.alter, cma.cov, cma.samp,
GeneSets,
passenger.rates = t(data.frame(0.55*rep(1.0e-6,25))),
ID2name=NULL,
BH = TRUE,
nr.iter,
pass.null = FALSE,
perc.samples = NULL,
spiked.set.sizes = NULL,
gene.method = FALSE,
perm.null.method = TRUE,
perm.null.het.method = FALSE,
pass.null.method = FALSE,
pass.null.het.method = FALSE,
show.iter,
KnownMountains = c("EGFR","SMAD4","KRAS",
"TP53","CDKN2A","MYC","MYCN","PTEN","RB1"),
exclude.mountains=TRUE, verbose=TRUE)GeneAlterBreast for an example.
GeneCovBreast for an example.
GeneSampBreast for an example.
MutationsBrain objects.
EntrezID2Name for an example.
TRUE, uses the Benjamini-Hochberg method to get q-values;
if set to FALSE, uses the Storey method from the
qvalue package.
TRUE, implements the passenger null hypothesis,
using the rates from passenger.rates; otherwise, implements the
permutation null, permuting mutational events.
perc.samples = c(75, 90) means that these probabilities are
0.75 and 0.90.
perc.samples = c(75, 90) and
spiked.set.sizes = c(50, 100), there would be 4 spiked-in sets,
one with 50 genes and probability of being altered of 0.75 in each sample,
one with 50 genes and probability of being altered of 0.90 in each sample,
one with 100 genes and probability of being altered of 0.75 in each sample, and
one with 100 genes and probability of being altered of 0.90 in each sample.
TRUE, implements gene-oriented method.
TRUE, implements patient-oriented method
with permutation null and no heterogeneity.
TRUE, implements patient-oriented method
with permutation null and heterogeneity.
TRUE, implements patient-oriented method
with passenger null and no heterogeneity.
TRUE, implements patient-oriented method
with passenger null and heterogeneity.
TRUE and verbose is also set to TRUE, shows what simulation is currently running.
exclude.mountains = TRUE.
TRUE, excludes the genes in KnownMountains.
TRUE, prints intermediate messages.
SetMethodsSims. See
SetMethodsSims for more details.
Benjamini Y and Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society B, DOI: 10.2307/2346101
Storey JD and Tibshirani R. Statistical significance for genome-wide experimens. Proceedings of the National Academy of Sciences. DOI: 10.1073/pnas.1530509100 Parsons DW, Jones S, Zhang X, Lin JCH, Leary RJ, Angenendt P, Mankoo P, Carter H, Siu I, et al. An Integrated Genomic Analysis of Human Glioblastoma Multiforme. Science. DOI: 10.1126/science.1164382 Wood LD, Parsons DW, Jones S, Lin J, Sjoeblom, Leary RJ, Shen D, Boca SM, Barber T, Ptak J, et al. The Genomic Landscapes of Human Breast and Colorectal Cancer. Science. DOI: 10.1126/science.1145720
SetMethodsSims-class,
CoverageBrain,
EventsBySampleBrain, GeneSizes08,
MutationsBrain, ID2name,
cma.set.stat,
extract.sims.method,
combine.sims
##Note that this takes a few minutes to run:
library(KEGG.db)
data(ParsonsGBM08)
data(EntrezID2Name)
setIDs <- c("hsa00250", "hsa05213")
set.seed(831984)
ResultsSim <-
cma.set.sim(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
Run the code above in your browser using DataLab