SampleSplit: Split the Data by Sample Types.

Description Usage Arguments Value Examples

Description

Split the TCGA data into data matrices of different sample types (normal, tumor, or recurrent tumor).

Usage

1

Arguments

dat

data matrix in gene x sample format.

Value

A list of three elements:

primary.tumor

a matrix of tumor samples of dimension gene x sample.

recurrent.tumor

a matrix of recurrent tumor samples of dimension gene x sample.

normal

a matrix from normal samples of dimension gene x sample.

Examples

1
2
3
library(TCGA2STAT)
lusc.rnaseq2 <- getTCGA(disease="LUSC", data.type="RNASeq2")
lusc.rnaseq2.bytype <- SampleSplit(lusc.rnaseq2$dat)

TCGA2STAT documentation built on May 2, 2019, 6:49 a.m.