Improved method for reliably coercing objects that extend RangedSummarizedExperiment to a standard SummarizedExperiment, that doesn't drop rowData().

as.SummarizedExperiment(x)

Arguments

x

Object.

Examples

data(rse, package = "acidtest") ## SummarizedExperiment ==== x <- as.SummarizedExperiment(rse) x
#> class: SummarizedExperiment #> dim: 500 12 #> metadata(3): version date interestingGroups #> assays(1): counts #> rownames(500): gene001 gene002 ... gene499 gene500 #> rowData names(5): geneID geneName geneBiotype broadClass entrezID #> colnames(12): sample01 sample02 ... sample11 sample12 #> colData names(1): condition