R/haplotype_external.R
get_multisample_phasing.RdGenerates phased haplotypes from multisample Battenberg runs
get_multisample_phasing(
chrom,
bbphasingprefixes,
maxlag = 90,
relative_weight_balanced = 0.25,
outprefix
)chromosome for which to obtain haplotypes
Vector containing prefixes of the Battenberg_phased_chr files for the multiple samples
Maximal number of upstream SNPs used to inform the haplotype at another SNPs
Relative weight to give to haplotype info from a sample without allelic imbalance in the region (default 0.25)
Prefix of the ouput multisample phasing files