View source: R/TCGA_Download_Preprocess.R
TCGA_GetSampleInfo | R Documentation |
The TCGA_GetSampleInfo function
TCGA_GetSampleInfo(METProcessedData, CancerSite = "LUAD", TargetDirectory = "")
METProcessedData |
Matrix of preprocessed methylation data. |
CancerSite |
Character string of TCGA study abbreviation. |
TargetDirectory |
Path to save the sample.info. Default: ”. |
Generate the 'sample.info' dataframe for TCGA data.
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.
{
data(MET.data)
sample.info <- TCGA_GetSampleInfo(MET.data, CancerSite = 'LUAD')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.