methyl_average_status | R Documentation |
Calculate the average methylation/accessibility status across all cells/molecules.
methyl_average_status(orderObject, window_length = 20, makePlot = TRUE, ...)
orderObject |
An object of class |
window_length |
Length of the window to be used to compute a moving average. Default is 20. |
makePlot |
Logical, indicates whether to generate a line plot of average status. |
... |
Addition parameters used by the |
The proportion of methylated bases for each cell/molecule within a defined moving window. Output is a list with elements "meth_avg" and "acc_avg", indicating endogenous or accessible methylation respectively.
data(singlemolecule_example)
orderObj <- initialOrder(singlemolecule_example, Method = "PCA")
methyl_average_status(orderObj, makePlot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.