flipAllele: This is the function for flipping alleles

Description Usage Arguments Value

View source: R/QC.R

Description

This is the function for flipping alleles

Usage

1
2
flipAllele(raw.data, raw.data.ori, refaltList, ix.pop, ix.var, log.mat.var,
  correctFlip = TRUE, analyzeRefAltListOnly = TRUE)

Arguments

raw.data

The input datasets to be considered flipped

raw.data.ori

The input datasets to be considered flipped

refaltList

The list consists of ref, alt, pos, af and af.diff.max, as well as the option of whether throw away sites with large af.differences checkAF;

ix.pop

index of the population

ix.var

index of the variant;

log.mat.var

The log for QC procedure;

correctFlip

Correct for score and covariance matrices for flipped alleles;

Value

A list consist of modified raw.data, ix.include and log.mat.var


dajiangliu/rareGWAMA documentation built on Sept. 13, 2019, 9:14 a.m.