mold: mold data into data.frame
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
"mold"(data)
"mold"(data)
"mold"(data,indName = "grl_name")
"mold"(data)
"mold"(data)
"mold"(data)
"mold"(data)
"mold"(data, assay.id = 1)
"mold"(data)
"mold"(data)
"mold"(data)
"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.