R/beta1.R

naten <-
function (mn, un, fudge=100, ret2=FALSE ,...) {
   mnn <- normalizeQuantiles(mn)
   unn <- normalizeQuantiles(un)
   beta <- mnn/(mnn + unn + fudge)
   if (ret2) return (list(methylated=mnn,unmethylated=unn,beta=beta))
   beta
}

Try the wateRmelon package in your browser

Any scripts or data that you put into this service are public.

wateRmelon documentation built on Nov. 8, 2020, 7:47 p.m.