Creates all possibilities for one mutation in one sample (given a genotype), then computes the cellularity associated with each possibility and finally the probability of each possibility
CellularitiesFromFreq(chr, position, Alt, Depth, Freec_ratio = NULL,
Genotype = NULL, subclone.genotype = NULL, subclone.cell = NULL,
contamination, restrict.to.AB = FALSE, force.single.copy = FALSE)The chromosome on which is the position (numeric value, not chr1 as in BED files)
The genomic position of the mutation
Number of reads supporting the variation
Number of reads mapped at the position
The FREEC output associated with the sample of interest
If the FREEC output is not given, the genotype associated with the locus (for example AAB)
If existing, the genotype of the subclone. Else NULL
The cellular prevalence of the subclone which has a different Copy Number at this site
The fraction of normal cells in the sample
Should the analysis keep only sites located in A and AB sites in all samples?
Should all mutations in overdiploid regions set to single copy? Default is FALSE