correctAlleleTable: Solve genotypes discrepancies

Description Usage Arguments Value

View source: R/correctAlleleTable.R

Description

This function tries to solve discrepancies between the reference and sample genotypes. The cause of these discrepancies is that samples and references have used different strands to codify the SNP. This function get the complement genotypes for the discordant SNPs and checks if discordancies are solved.

Usage

1
correctAlleleTable(alleletable, hetRefs, map)

Arguments

alleletable

Data.frame with the alleles per SNP (from getAlleleTable)

hetRefs

Character vector with the heterozygous genotypes in the reference.

map

Data.frame with the annotation of the SNPs (from plink format)

Value

alleletable without discrepancies between these genotypes and the references.


isglobal-brge/snpfier documentation built on Feb. 10, 2021, 3:29 a.m.