GetChromosomeBAFs: Morphs phased SNPs from WGS input into haplotype blocks

Description Usage Arguments Author(s)

View source: R/haplotype.R

Description

Morphs phased SNPs from WGS input into haplotype blocks

Usage

1
2
3
4
5
6
7
8
9
GetChromosomeBAFs(
  chrom,
  SNP_file,
  haplotypeFile,
  samplename,
  outfile,
  chr_names,
  minCounts = 1
)

Arguments

chrom

The chromosome number for which this function is called.

SNP_file

File containing allele counts for each SNP location.

haplotypeFile

File containing impute phasing output.

samplename

Name of the sample (used in header of output file).

outfile

Full path to where the output will be written.

chr_names

Names of all allowed chromosomes as a Vector.

minCounts

An integer describing the minimum number of reads covering this position to be included in the output.

Author(s)

dw9


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