# NOT RUN {
data("dflatExample")
data("gse32472Example")
data("gse32472ExampleTempoResults")
# }
# NOT RUN {
# Cross-validation can be run seperately once the initial model-building and scoring is complete.
# Note that running this example may take several minutes.
results = tempo.runInstance(ctrl=gse32472Example$ctrl,
test=gse32472Example$test,
genesets=dflatExample,
X=gse32472Example$data,
Y=gse32472Example$age)
results = tempo.permutationTest(mainResult=results,
ctrl=gse32472Example$ctrl,
test=gse32472Example$test,
genesets=dflatExample,
X=gse32472Example$data,
Y=gse32472Example$age,
nCores=-1)
# }
# NOT RUN {
# Reporting thresholds, number of permutations, and number of CPU cores used can all be changed.
# This command is suitable for demonstration purposes, but significance values will not be
# meaningful.
results2 = tempo.permutationTest(mainResult=gse32472ExampleTempoResults,
ctrl=gse32472Example$ctrl,
test=gse32472Example$test,
genesets=dflatExample,
X=gse32472Example$data,
Y=gse32472Example$age,
numPerms=2,nCores=2,pMseCutoff = 1)
# }
Run the code above in your browser using DataLab