bafLikelihood: Calculate the likelihood of the observed B allele frequencies...

Description Usage Arguments Value

Description

Calculate the likelihood of the observed B allele frequencies for a given copy number model

Usage

1
bafLikelihood(cn.model, snpdata)

Arguments

cn.model

a copy number model

snpdata

a SummarizedExperiment with assay element 'GT' containing an integer coding (1, 2, and 3) for the generic genotypes AA, AB, and BB, respectively.

Value

a list. The first element is the log likeihood and the second element is the copy number model that maximized the likelihood.


CNPBayes documentation built on May 6, 2019, 4:06 a.m.