View source: R/methrix_operations.R
mask_methrix | R Documentation |
Masks too high or too low coverage
mask_methrix(m, low_count = NULL, high_quantile = 0.99, n_cores = 1)
m |
|
low_count |
The minimal coverage allowed. Everything below, will get masked. Default = NULL, nothing gets masked. |
high_quantile |
The quantile limit of coverage. Quantiles are calculated for each sample and everything that belongs to a higher quantile than the defined will be masked. Default = 0.99. |
n_cores |
Number of parallel instances. Can only be used if |
Takes methrix
object and masks sites with too high or too low coverage
by putting NA for coverage and beta value. The sites will remain in the object.
An object of class methrix
data('methrix_data')
mask_methrix(m = methrix_data, low_count = 5, high_quantile = 0.99 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.