genotype_model: Map mixture component labels to integer copy numbers

Description Usage Arguments Value

Description

Mapping is performed using the B allele frquencies for SNPs spanned by the candidate deletion/duplication polymorphism. Multiple components can be mapped to a single copy number state, but one-to-many mapping is not permitted

Usage

1
genotype_model(model, snpdat)

Arguments

model

a 'MultiBatch' instance

snpdat

a 'SummarizedExperiment' containing B allele frequences

Value

a 'MultiBatch' instance. The mapping is now accessible through 'mapping'.


scristia/CNPBayes documentation built on Aug. 9, 2020, 7:31 p.m.