Description Usage Arguments Details Value Metadata DESeq2 Remote Data Note Author(s) See Also Examples
bcbioRNASeq
is an S4 class that extends RangedSummarizedExperiment
, and
is designed to store a bcbio RNA-seq
analysis.
1 2 3 4 5 | bcbioRNASeq(uploadDir, level = c("genes", "transcripts"),
caller = c("salmon", "kallisto", "sailfish"), organism, samples = NULL,
sampleMetadataFile = NULL, interestingGroups = "sampleName",
ensemblRelease = NULL, genomeBuild = NULL, transgeneNames = NULL,
spikeNames = NULL, gffFile = NULL, transformationLimit = 50L, ...)
|
uploadDir |
Path to final upload directory. This path is set when
running |
level |
Import counts as " |
caller |
Expression caller. Supports " |
organism |
Organism name. Use the full latin name (e.g.
"Homo sapiens"), since this will be input downstream to
AnnotationHub and ensembldb, unless |
samples |
Optional. Specify a subset of samples to load. The names
must match the |
sampleMetadataFile |
Optional. Custom metadata file containing sample information. Otherwise defaults to sample metadata saved in the YAML file. Remote URLs are supported. Typically this can be left unset. |
interestingGroups |
Character vector denoting groups of interest that
define the samples. If left unset, defaults to |
ensemblRelease |
Optional. Ensembl release version. If unset,
defaults to current release, and does not typically need to be
user-defined. Passed to AnnotationHub for |
genomeBuild |
Optional. Ensembl genome build name (e.g. "GRCh38").
This will be passed to AnnotationHub for |
transgeneNames |
|
spikeNames |
|
gffFile |
Advanced use; not recommended. By default, we recommend
leaving this |
transformationLimit |
Maximum number of samples to calculate
|
... |
Additional arguments, slotted into the |
Simply point to the final upload directory generated by bcbio, and this constructor function will take care of the rest. It automatically imports RNA-seq counts, metadata, and the program versions used.
This class contains raw read counts and length-scaled
transcripts per million (TPM) generated by tximport::tximport()
. Counts can
be loaded at gene or transcript level.
bcbioRNASeq
.
The metadata()
accessor contains:
Sample quality control metrics.
Ensembl annotations.
Server run paths.
R session information (e.g. utils::sessionInfo()
).
DESeq2 is run automatically when bcbioRNASeq()
is called, and variance
stabilized counts are slotted into assays()
. If the number of samples is
bigger than the transformationLimit
argument, rlog
and vst
counts will
not be slotted into assays()
. In this case, we recommend visualization
using tmm()
counts, which are automatically calculated using edgeR.
When working in RStudio, we recommend connecting to the bcbio run directory as a remote connection over sshfs.
bcbioRNASeq
extended SummarizedExperiment
prior to v0.2.0, where we
migrated to RangedSummarizedExperiment
.
Michael Steinbaugh, Lorena Pantano, Rory Kirchner, Victor Barrera
SummarizedExperiment::SummarizedExperiment()
.
methods::initialize()
.
methods::validObject()
.
BiocGenerics::updateObject()
.
.S4methods(class = "bcbioRNASeq")
.
Other S4 Class Definition: [,bcbioRNASeq,ANY,ANY,ANY-method
,
coerce
, show
,
updateObject
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | uploadDir <- system.file("extdata/bcbio", package = "bcbioRNASeq")
# Gene level
x <- bcbioRNASeq(
uploadDir = uploadDir,
level = "genes",
caller = "salmon",
organism = "Mus musculus",
ensemblRelease = 87L
)
show(x)
is(x, "RangedSummarizedExperiment")
validObject(x)
# Transcript level
x <- bcbioRNASeq(
uploadDir = uploadDir,
level = "transcripts",
caller = "salmon",
organism = "Mus musculus",
ensemblRelease = 87L
)
show(x)
validObject(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.