load_seq | R Documentation |
Load bulk RNA-Seq data into an ExpressionSet.
load_seq( data_dir, species = "Homo sapiens", release = "94", load_saved = TRUE, save_eset = TRUE )
data_dir |
Directory with raw and quantified RNA-Seq files. |
species |
Character vector indicating species. Genus and species should
be space separated, not underscore. Default is |
release |
EnsemblDB release. Should be same as used in
|
load_saved |
If TRUE (default) and a saved |
save_eset |
If TRUE (default) and either |
ExpressionSet
with attributes/accessors:
sampleNames
from names of raw RNA-Seq files (excluding
.fastq.gz suffix).
annotation
Character vector of annotation package used.
exprs
Length scaled counts generated from abundances for use
in voom
(see
vignette("tximport", package = "tximport")
).
phenoData
added columns:
lib.size
library size from
calcNormFactors
.
norm.factors
library normalization factors from
calcNormFactors
.
get_vsd
library(tximportData) example <- system.file("extdata", "kallisto_boot", "ERR188021", package = "tximportData" ) # setup to mirror expected folder structure data_dir <- tempdir() qdir <- paste("kallisto", get_pkg_version(), "quants", sep = "_") qdir <- file.path(data_dir, qdir) unlink(qdir, recursive = TRUE) dir.create(qdir) file.copy(example, qdir, recursive = TRUE) # construct and annotate eset eset <- load_seq(data_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.