R/assocCNV.i.R

assocCNV.i <- function(x, formula, num.copies, 
        cnv.tol, ...) {
        CNV <- cnv(x = x, num.copies = num.copies, 
            cnv.tol = cnv.tol)
        res <- CNVassoc(as.formula(formula), 
            ...)
        ans <- CNVtest(res, type = "LRT")$pvalue
        ans
}
isglobal-brge/CNVassoc documentation built on May 30, 2019, 9:48 p.m.