remove_monomorphic_alleles: Remove Monomorphic Alleles

Description Usage Arguments Value Author(s) Examples

View source: R/remove_monomorphic_alleles.R

Description

Alleles equals to 0 or equals among themselves (Ref vs Alt) will be removed from dataset. This functions accepts Plink and Shapeit files, altough vcf will be included soon. For Plink format, Plink Software must be installed on system path (it will be check inside the function).

Usage

1

Arguments

file

Character. Name of file (.bim or .haps)

output

Character. Desired name for output. If missing, the original file will be overwritten.

Value

Dataset without monomorphic alleles.

Author(s)

CainĂ£ Max Couto da Silva

Examples

1
2
3
4
5
## Not run: 
bim_file <- "myfile.bim"
remove_monomorphic_alleles(file = bim_file)

## End(Not run)

cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.