register-methods: Encapsulate data object in Epiviz

Description Usage Arguments Details Value Author(s) See Also

Description

This method encapsulates data objects in R/bioc to be used for interactive visualization. It converts GenomicRanges objects to GIntervalTree objects when appropriate. It returns objects from the EpivizData-class hierarchy.

Usage

1
2
3
4
5
6
## S4 method for signature 'GenomicRanges'
register(object, columns=NULL, type=c("block", "bp"), ...)
## S4 method for signature 'SummarizedExperiment'
register(object, columns=NULL, assay=1)
## S4 method for signature 'ExpressionSet'
register(object, columns=NULL, annotation=NULL)

Arguments

object

data object to encapsulate

columns

columns in object to use. All columns are used if NULL

type

for GenomicRanges objects, use block representation or base-pair level quantitative representation

assay

for SummarizedExperiment and ExpressionSet objects, determine which assay to use

annotation

for ExpressionSet objects, determine the annotation to use to obtain feature genomic coordinates. If NULL, then annotation(object) is used

...

arguments passed to EpivizData-class subclasses constructors

Details

This function converts GenomicRanges objects to GIntervalTree objects when appropriate. For example, the rowData slot in SummarizedExperiment objects. Genomic coordinates for features in ExpressionSet objects are obtained used the AnnotationDb interface from the provided annotation.

Value

Returns objects from the EpivizData-class hierarchy depending on the provided object. When object is a GenomicRanges object and type=="block", a EpivizBlockData-class object is returned; a EpivizBpData-class object is returned if type=="bp". For SummarizedExperiment and ExpressionSet objects, a EpivizFeatureData-class object is returned. For SummarizedExperiment objects, columns SYMBOL and PROBEID are assumed to be present in mcols(rowData(object)).

Author(s)

Hector Corrada Bravo

See Also

EpivizData-class and subclasses, EpivizDeviceMgr-class, GenomicRanges, SummarizedExperiment, GIntervalTree, ExpressionSet


epiviz/epivizr-tmp documentation built on May 16, 2019, 8:19 a.m.