callAlleleSpecificCNfromHSCN.Rd
Call allele specific copy number in single cell datasets
callAlleleSpecificCNfromHSCN(
hscn,
eps = 1e-12,
maxCN = NULL,
selftransitionprob = 0.95,
progressbar = TRUE,
ncores = 1,
fillmissing = TRUE
)
hscn object from callHaplotypeSpecificCN
default 1e-12
maximum copy number to infer allele specific states, default=NULL which will use the maximum state from CNbins
probability to stay in the same state in the HMM, default = 0.999, set to 0.0 for an IID model
Boolean to display progressbar or not, default = TRUE, will only show if ncores == 1
Number of cores to use, default = 1
For bins with missing counts fill in values based on neighbouring bins
allele specific copy number object which includes dataframe similar to input with additional columns which include
* `A` (Major allele copy number) * `B` (Minor allele copy number) * `state_AS_phased` (phased state of the form A|B ) * `state_AS` (mirrored state of the form A|B) * `LOH` (is bin LOH or not) * `state_phase` (state describing which is the dominant allele and whether it is LOH or not) * `state_BAF` (binned discretized BAF value calculated as B / (A + B))
In the allele specific copy number inference A is always > B and state_AS_phased == state_AS