View source: R/TCGA_Download_Preprocess.R
TCGA_Download_GeneExpression | R Documentation |
Download gene expression data from TCGA.
TCGA_Download_GeneExpression(
CancerSite,
TargetDirectory,
mode = "Regular",
downloadData = TRUE
)
CancerSite |
character string indicating the TCGA cancer code. |
TargetDirectory |
character with directory where a folder for downloaded files will be created. |
mode |
character string indicating whether we should download the gene expression data for miRNAs or lncRNAs, instead of for protein-coding genes. See details for more information. |
downloadData |
logical indicating if the data should be downloaded (default: TRUE). If False, the url of the desired data is returned. |
mode: when mode is set to 'Regular', this function downloads the level 3 RNAseq data (file tag 'mRNAseq_Preprocess.Level_3'). Since there is not enough RNAseq data for OV and GBM, the micro array data is downloaded. If you plan to run the EpiMix on miRNA- or lncRNA-coding genes, please specify the 'mode' parameter to 'miRNA' or 'lncRNA'.
list with paths to downloaded files for gene expression.
# Example #1 : download regular gene expression data for ovarian cancer
GEdirectories <- TCGA_Download_GeneExpression(CancerSite = 'OV', TargetDirectory = tempdir())
# Example #2 : download miRNA expression data for ovarian cancer
GEdirectories <- TCGA_Download_GeneExpression(CancerSite = 'OV',
TargetDirectory = tempdir(),
mode = 'miRNA')
# Example #3 : download lncRNA expression data for ovarian cancer
GEdirectories <- TCGA_Download_GeneExpression(CancerSite = 'OV',
TargetDirectory = tempdir(),
mode = 'lncRNA')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.