R/haplotype_external.R
write_battenberg_phasing.RdWrites the imputation and copy number phased haplotypes to a vcf
write_battenberg_phasing(
tumourname,
SNPfiles,
imputedHaplotypeFiles,
bafsegmented_file,
outprefix,
chrom_names,
include_homozygous = F
)Sample name
Character vector of the paths to the alleleFrequencies files, ordered by chromosome index
Character vector of the paths to the impute_output files, ordered by chromosome index
Path to the BAFSegmented file
Prefix to write the output vcf files to
Names of the chromosomes
Include homozygous SNPs in the output vcf file (Default = FALSE)