R/haplotype.R
GetChromosomeBAFs_SNP6.RdThis function matches allele frequencies and halplotype info, reverses frequencies by haplotype, combines the output and saves it to disk.
GetChromosomeBAFs_SNP6(
chrom,
alleleFreqFile,
haplotypeFile,
samplename,
outputfile,
chr_names
)The chromosome number for which this function should run.
File containing allele frequency information.
File containing haplotype information.
Identifier for the sample (used in header of output file).
Full path pointing to where output should be written.
Vector of chromosome names