knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of phenopredict is to build predictors from expression data (RNA-Seq) that will predict necessary phenotype information across samples.The phenotypes sex, tissue, sequencing strategy, and sample source have been predicted across the ~70,000 samples currently available in recount.
You can install phenopredict from GitHub with:
# install.packages("devtools") devtools::install_github("leekgroup/phenopredict")
Details of how the predicted phenotypes previously generated for the recount data) are available on GitHub.
If you're looking to find the phenotype information previously generated across the recount samples, an example of how to use add_predictions()
within recount is provided below.
library('recount') download_study('ERP001942', type='rse-gene') load(file.path('ERP001942', 'rse_gene.Rdata')) rse <- scale_counts(rse_gene) rse_with_pred <- add_predictions(rse)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.