predictClasses,CohortList,GeneFuModel-method {PDATK}R Documentation

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

Description

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

Usage

## 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.


[Package PDATK version 1.1.3 Index]