predictCMS {TNBC.CMS} | R Documentation

## TNBC consensus molecular subtype prediction

### Description

Predicts the TNBC consensus molecular subtype of TNBC samples.

### Usage

    predictCMS(expr)

### Arguments

`expr` | A `SummarizedExperiment` object or a matrix containig gene expression profiles. If input is a `SummarizedExperiment`, the first element in the assays list should be a matrix of gene expression. Rows and columns of the gene expression matrix correspond to genes and samples, respectively (rownames must be to gene symbols).

### Value

A vector of assigned subtypes.

### Examples

    # Load gene expression profiles of TNBC samples
    data(GSE25055)

    # Predict consensus molecular subtypes of TNBC samples
    prediction <- predictCMS(expr = GSE25055)
    table(prediction)

[Package TNBC.CMS version 1.10.0 Index]