Description Usage Arguments Details Value Author(s)
View source: R/plink2eigensoft.R
Conversion from Plink to Eigenstrat format
1 | plink2eigensoft(input, out, mode = 1L)
|
input |
Scalar character. Name of the file in Plink format without extensions. |
out |
Scalar character. Name of the output file without extensions. If missing, it will be named like the input. |
mode |
Integer. Mode 1 considers input data as in binary format (.bed/.bim/.fam; default), while mode = 2 considers the Plink human-readable format (.ped/.map). |
Important note: This function assumes there's no ":" (colon) in the family names and individual IDs. Also, if all phenotypes are missing (6th column of .ped/.map file), then all individuals will be considered. Otherwise only individuals with phenotype info will be taken.
Genotypic data in Engeinstrat format.
CainĂ£ Max Couto-Silva
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.