GetChromosomeBAFs_SNP6: Morphs phased SNPs from SNP6 input into haplotype blocks

Description Usage Arguments Author(s)

View source: R/haplotype.R

Description

This function matches allele frequencies and halplotype info, reverses frequencies by haplotype, combines the output and saves it to disk.

Usage

1
2
3
4
5
6
7
8
GetChromosomeBAFs_SNP6(
  chrom,
  alleleFreqFile,
  haplotypeFile,
  samplename,
  outputfile,
  chr_names
)

Arguments

chrom

The chromosome number for which this function should run.

alleleFreqFile

File containing allele frequency information.

haplotypeFile

File containing haplotype information.

samplename

Identifier for the sample (used in header of output file).

outputfile

Full path pointing to where output should be written.

chr_names

Vector of chromosome names

Author(s)

dw9


shaghayeghsoudi/Battenberg_customized documentation built on Feb. 13, 2022, 4:10 a.m.