Description Usage Arguments Value
View source: R/smoothBSCounts.R
helper function for compartment inference (shrink-by-smoothing logit frac5mC)
We want something with nominally Gaussian error for compartment inference, so
this function grabs suitable (default >= 3 reads in >=2 sample) measurements
and turns them into lightly moderated, logit-transformed methylated-fraction
estimates (also known, unfortunately, as M-values) for compartment calling,
by performing Dirichlet smoothing (adding k reads to M and U support).
| 1 | smoothBSCounts(obj, minCov = 3, minSamp = 2, k = 0.5, r = NULL)
 | 
| obj | a BSseq object with methylated and total reads | 
| minCov | minimum read coverage for landmarking samples (3) | 
| minSamp | minimum landmark samples with >= minCov (2) | 
| k | pseudoreads for smoothing (0.5) | 
| r | regions to collapse over (default is NULL, do it by CpG) | 
| 1 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.