mold {biovizBase} | R Documentation |
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.
## 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)
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. |
a data.frame object.
Tengfei Yin