methylationDist {scmeth} | R Documentation |
Plot the methylation distribution for the cells in bsseq object
methylationDist(bs, subSample = 1e+06, offset = 50000, coverageVec = NULL)
bs |
bsseq object |
subSample |
number of CpGs to subsample Default value is 1000000. |
offset |
how many CpGs to offset when subsampling Default value is set to be 50000, i.e. first 50000 CpGs will be ignored in subsampling. |
coverageVec |
If coverage vector is already calculated provide it to speed up the process |
plot of the methylation distribution
directory <- system.file("extdata/bismark_data",package='scmeth') bs <- HDF5Array::loadHDF5SummarizedExperiment(directory) methylationDist(bs)