get_multisample_phasing: Generates phased haplotypes from multisample Battenberg runs

View source: R/haplotype_external.R

get_multisample_phasingR Documentation

Generates phased haplotypes from multisample Battenberg runs

Description

Generates phased haplotypes from multisample Battenberg runs

Usage

get_multisample_phasing(
  chrom,
  bbphasingprefixes,
  maxlag = 100,
  relative_weight_balanced = 0.25,
  outprefix
)

Arguments

chrom

chromosome for which to obtain haplotypes

bbphasingprefixes

Vector containing prefixes of the Battenberg_phased_chr files for the multiple samples

maxlag

Maximal number of upstream SNPs used to inform the haplotype at another SNPs

relative_weight_balanced

Relative weight to give to haplotype info from a sample without allelic imbalance in the region (default 0.25)

outprefix

Prefix of the ouput multisample phasing files

Author(s)

jdemeul


Wedge-Oxford/battenberg documentation built on Aug. 4, 2023, 6:27 p.m.