SPARC.model_cnv#
missionbio.demultiplex.phylogeny.sparc.SPARC.model_cnv
- SPARC.model_cnv(cnv: Union[Assay, List[Assay]], mod_cn: Union[int, Series] = 2) None#
Fits the model to the CNV assay (or assays for multiple controls)
- Parameters:
cnv – If provided, the copy number model is created using these and copy gain clones are searched for. If only cnamps is given, just LoH clones are considered. model_cnv can affect the LoH variant groups detected. When given, read counts are also considered when looking for LoH corresponding to diploid regions, otherwise only VAF distributions are considered.
mod_cn – The copy number of each amplicon in the CNV assay.