use_rna_luad: Download a toy dataset to test galgoR

Description Usage Arguments Value References Examples

View source: R/install_data.R

Description

The current function downloads two reduced lung adenocarcinoma gene expression datasets (TCGA lung adenocarcinoma project and GEO GSE68465 datasets) to test galgoR. It also contains the Wilkerson's centroids to perform lung adenocarcinoma sample classification.

Usage

1
use_rna_luad(userdir = "")

Arguments

userdir

the name of the folder to install the datasets. A temporary file will be used if left blank.

Value

The dataset gets downloaded in a temporary folder or the userdir folder specified by the user. The output of the function is a list with two lists with the scaled gene expression and clinical data from TCGA lung adenocarcinoma and GEO GSE68465 datasets.It also contains the Wilkerson's centroids extracted from http://cancer.unc.edu/nhayes/publications/adenocarcinoma.2012/wilkerson.2012.LAD.predictor.centroids.csv.zip to perform sample classification into "Bronchoid", "Magnoid" and "Squamoid" subtypes.

References

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
rna_luad<- use_rna_luad()
TCGA<- rna_luad$TCGA #Access TCGA dataset
GSE68465<- rna_luad$GSE68465 #Access GSE68465 dataset

#To access gene expression data
TCGA_expr<- TCGA$expression_data

#To access feature data
TCGA_features<- TCGA$feature_data

#To access clinical data
TCGA_clinic <- TCGA$pheno_data

#To get wilkerson centroids
WilkCentroids <- rna_luad$WilkCentroids

## End(Not run)

harpomaxx/galgo documentation built on Aug. 11, 2020, 3:07 p.m.