Description Usage Arguments Value Author(s) Examples
View source: R/remove_monomorphic_alleles.R
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).
1 | remove_monomorphic_alleles(file, output)
|
file |
Character. Name of file (.bim or .haps) |
output |
Character. Desired name for output. If missing, the original file will be overwritten. |
Dataset without monomorphic alleles.
CainĂ£ Max Couto da Silva
1 2 3 4 5 | ## Not run:
bim_file <- "myfile.bim"
remove_monomorphic_alleles(file = bim_file)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.