Skip to content

Instantly share code, notes, and snippets.

@ShanEllis
ShanEllis / add_pred.R
Last active December 14, 2017 15:44
Adding phenotypes in recount
## download recount
source('https://bioconductor.org/biocLite.R')
biocLite('recount')
## load packages
library(recount)
## download GTEx data from recount packge
if(!file.exists(file.path('SRP012682','rse_gene.Rdata'))) {
download_study('SRP012682')