Description Value Author(s) See Also Examples
Methods for Coercing an Object to a Class
Object of new class.
Michael Steinbaugh
methods::as()
.
methods::coerce()
.
Other S4 Class Definition: [,bcbioRNASeq,ANY,ANY,ANY-method
,
bcbioRNASeq
, show
,
updateObject
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # DESeqDataSet ====
x <- as(bcb_small, "DESeqDataSet")
names(S4Vectors::mcols(x))
class(x)
show(x)
# RangedSummarizedExperiment ====
x <- as(bcb_small, "RangedSummarizedExperiment")
slotNames(x)
show(x)
# SummarizedExperiment ====
# Coerce to RangedSummarizedExperiment first.
x <- as(bcb_small, "RangedSummarizedExperiment")
x <- as(x, "SummarizedExperiment")
class(x)
slotNames(x)
show(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.