tempo.runInstance: Build models for all pathways using the control data and test...

Description Usage Arguments Value Examples

Description

Build models for all pathways using the control data and test on the test population.

Usage

1
2
tempo.runInstance(X, Y, genesets, ctrl, test, train = NULL, comps = 10,
  validation = "CV")

Arguments

X

a matrix with sample ids as row names and gene ids as column names.

Y

a list indexed by sample ids, containing numerical values.

genesets

a list of lists. Outer list is indexed by gene set name, inner list contains all gene ids in a given gene set

ctrl

a list of sample ids. The list of control samples to use in scoring.

test

a list of sample ids. The list of test samples to use in scoring.

train

a list of sample ids. The list of control samples to train models on. If null, train on ctrl.

comps

maximum number of components to use in the plsr model

validation

"CV" for 10-fold cross-validation, "LOO" for leave-one-out cross-validation. "CV" is nondeterministic and should not be used where exactly reproducible results are important

Value

a list with the following entries

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data("dflatExample")
data("gse32472Example")

# It is possible to run just the model-building and scoring functions and skip
# cross-validation.  This is not recommended for general use, but may be useful
# in some cases
results = tempo.runInstance(ctrl=gse32472Example$ctrl,
    test=gse32472Example$test,
    genesets=dflatExample,
    X=gse32472Example$data,
    Y=gse32472Example$age)

tempoR documentation built on May 27, 2019, 9:05 a.m.