Update object

updateObject(object, ..., verbose = FALSE)

# S4 method for bcbioRNASeq
updateObject(object, rowRanges = NULL, ..., verbose = FALSE)

Arguments

object

Object.

rowRanges

GRanges or NULL. Row annotations. Since we converted to RangedSummarizedExperiment in v0.2.0, this option had to be added to enable updating of newly required rowRanges slot. Objects that are >= v0.2 don't require this argument and it can be left NULL.

...

Additional arguments.

verbose

logical(1). Verbose output.

Value

Modified object.

Details

Update old objects created by the bcbioRNASeq package. The session information metadata is preserved from the time when the bcbio data was originally loaded into R.

Note

Updated 2021-02-22.

Legacy bcbioRNADataSet class

Support for bcbioRNADataSet objects was dropped in v0.2.0 of the package. If you need to load one of these objects, please install an older release.

Legacy bcbioRnaseq package

The previous bcbioRnaseq package (note case) must be reinstalled to load objects from versions <= 0.0.20. We changed the name of the package to bcbioRNASeq starting in v0.0.21.

Author

Michael Steinbaugh

Examples

data(bcb) updateObject(bcb)
#> bcbioRNASeq 0.3.40 of length 100 #> uploadDir: /data00/draco/acidbase/packages/bcbioRNASeq/inst/extdata/bcbio #> dates(2): [bcbio] 2018-03-18; [R] 2019-09-16 #> level: genes #> caller: salmon #> organism: Mus musculus #> interestingGroups(2): treatment day #> class: RangedSummarizedExperiment #> dim: 100 6 #> metadata(28): allSamples bcbioCommandsLog ... yaml previousVersion #> assays(7): counts aligned ... vst fpkm #> rownames(100): ENSMUSG00000000001 ENSMUSG00000000003 ... #> ENSMUSG00000062661 ENSMUSG00000074340 #> rowData names(8): broadClass description ... geneName seqCoordSystem #> colnames(6): control_rep1 control_rep2 ... fa_day7_rep2 fa_day7_rep3 #> colData names(25): averageInsertSize averageReadLength ... treatment #> x5x3Bias
## Example that depends on remote file. ## > x <- import(file.path(bcbioRNASeqTestsURL, "bcbioRNASeq_0.1.4.rds")) ## > x <- updateObject(x) ## > x