Learn R Programming

TCGA2STAT (version 1.2)

TumorNormalMatch: Get Matched Tumor and Normal Samples.

Description

Get data matrix of molecular profiles for matching tumor and normal samples.

Usage

TumorNormalMatch(dat)

Arguments

dat
data matrix in gene x sample format.

Value

A list of two elements:
primary.tumor
a matrix containing tumor samples; of dimension of gene x tumor samples.
normal
a matrix of normal samples; of dimension gene x normal samples.

Details

This function returns a list of two gene-by-sample matrices. The samples in both matrices are of matching patients and are sorted at the same order.

Examples

Run this code

library(TCGA2STAT)
lusc.rnaseq2 <- getTCGA(disease="LUSC", data.type="RNASeq2")
lusc.rnaseq2.tum.norm <- TumorNormalMatch(lusc.rnaseq2$dat)

Run the code above in your browser using DataLab