methyl_proportion | R Documentation |
Calculate the proportion of methylated bases for each cell/molecule
methyl_proportion(orderObject, type = "yellow", makePlot = TRUE, ...)
orderObject |
An object of class |
type |
Indicates which data set to compute proportions for. This should be 'met' or 'hcg' or 'red' for endogenous methylation; 'acc' or 'gch' or 'yellow' for accessibility. |
makePlot |
Indicates whether to plot a histogram of the proportions across all cells/molcules. |
... |
Additional parameters used by the |
The proportion of methylated (endogenous (yellow) or accessible) bases for each cell/molecule. Output is vector with length the numbner of cells/molecules and contains a proportion.
data(singlemolecule_example)
orderObj <- initialOrder(singlemolecule_example, Method = "PCA")
methyl_proportion(orderObj, makePlot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.