mold-method: mold data into data.frame

Description Usage Arguments Value Author(s)

Description

mold data into data.frame usued for visualization, so it's sometimes not as simple as coersion, for example, we add midpoint varialbe for mapping.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## S4 method for signature 'IRanges'
mold(data)
## S4 method for signature 'GRanges'
mold(data)
## S4 method for signature 'GRangesList'
mold(data,indName = "grl_name")
## S4 method for signature 'Seqinfo'
mold(data)
## S4 method for signature 'matrix'
mold(data)
## S4 method for signature 'eSet'
mold(data)
## S4 method for signature 'ExpressionSet'
mold(data)
## S4 method for signature 'RangedSummarizedExperiment'
mold(data, assay.id = 1)
## S4 method for signature 'Views'
mold(data)
## S4 method for signature 'Rle'
mold(data)
## S4 method for signature 'RleList'
mold(data)
## S4 method for signature 'VRanges'
mold(data)

Arguments

data

data to be mold into data.frame with additional column that helped mapping.For example we add 'midpoint' variable to a ranged converted data.frame.

indName

when collapsing a GRangesList, list names are aggregated into extra column named by this parameter.

assay.id

define the assay id you want to convert into a data.frame.

Value

a data.frame object.

Author(s)

Tengfei Yin


lawremi/biovizBase documentation built on Dec. 21, 2021, 9:42 a.m.