predictClasses-CohortList-GeneFuModel-method: Use a Gene Signature Based Prediciton Model from the 'genefu'...

Description Usage Arguments Value

Description

Use a Gene Signature Based Prediciton Model from the genefu Package to Predict Signature Scores for Each Sample

Usage

1
2
## S4 method for signature 'CohortList,GeneFuModel'
predictClasses(object, model, ..., annot = NA)

Arguments

object

A CohortList with SurvivalExperiments to predict classes for.

model

A trained GeneFuModel object.

...

Fall through parameters to genefu::sig.score.

annot

The annot parameter passed to genefu::sig.score. Defaults to NA, which assumes your assay rowname match the gene labels in the model.

Value

A CohortList with the model predictions in the colData slot as genefu_score for each SurvivalExperiment, and the model in the metadata as predictionModel.


bhklab/PDATK documentation built on Dec. 27, 2021, 7:46 a.m.