updateObject: Update old GenomicInteractions

Description Usage Arguments Details Value Author(s) Examples

Description

Update an old GenomicInteractions instance (usually saved to file in serialized form) into a backwards-compatible GenomicInteractions object.

Usage

1
2
3
## S4 method for signature 'GenomicInteractions'
updateObject(object, ...,
  verbose = FALSE)

Arguments

object

Any instance of an old GenomicInteractions class, generated prior to version 2.0.0 of the GenomicInteractions package.

...

Further arguments, not used.

verbose

Logical scalar indicating whether to display messages during conversion.

Details

We return a GenomicInteractions instance rather than a GenomicInteractions instance, simply to maximize backwards-compatibility with code that calls regions and expects a GenomicRanges in return.

Value

A GenomicInteractions object.

Author(s)

Aaron Lun, based on code by Malcolm Perry and Liz Ing-Simmons.

Examples

1
2
3
4
## Not run: 
updateObject(readRDS('some_old_objects.rds'))

## End(Not run)

LTLA/GenomicInteractions documentation built on June 24, 2019, 2:09 p.m.