TCGA_GetSampleInfo: The TCGA_GetSampleInfo function

View source: R/TCGA_Download_Preprocess.R

TCGA_GetSampleInfoR Documentation

The TCGA_GetSampleInfo function

Description

The TCGA_GetSampleInfo function

Usage

TCGA_GetSampleInfo(METProcessedData, CancerSite = "LUAD", TargetDirectory = "")

Arguments

METProcessedData

Matrix of preprocessed methylation data.

CancerSite

Character string of TCGA study abbreviation.

TargetDirectory

Path to save the sample.info. Default: ”.

Details

Generate the 'sample.info' dataframe for TCGA data.

Value

A dataframe for the sample groups. Contains two columns: the first column (named: 'primary') indicating the sample names, and the second column (named: 'sample.type') indicating whether each sample is a Cancer or Normal tissue.

Examples

{
data(MET.data)
sample.info <- TCGA_GetSampleInfo(MET.data, CancerSite = 'LUAD')
}

gevaertlab/EpiMix documentation built on July 20, 2023, 9:28 a.m.