predictCMS: TNBC consensus molecular subtype prediction

Description Usage Arguments Value Examples

View source: R/predictCMS.R

Description

Predicts the TNBC consensus molecular subtype of TNBC samples.

Usage

1
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

1
2
3
4
5
6
# Load gene expression profiles of TNBC samples
data(GSE25055)

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

TNBC.CMS documentation built on Nov. 8, 2020, 7:53 p.m.