Convert plink2 files to cape format
plink2cape(
ped = "test.ped",
map = "test.map",
pheno = "test.pheno",
out = "out.csv",
missing_genotype = "0",
no_fid = FALSE,
no_parents = FALSE,
no_sex = FALSE,
no_pheno = FALSE,
verbose = FALSE,
overwrite = FALSE
)
A list with two elements: data_obj and geno_obj
These objects are formatted for use in cape and must then
be separated to use in run_cape
.
full path to the ped file
full path to the map file
full path to the pheno file
full path to the output file
default is "0"
boolean, default is FALSE
boolean, default is FALSE
boolean, default is FALSE
boolean, default is FALSE
boolean, default is FALSE, gives some happy little progress messages
boolean, default is FALSE, will only remove the existing file if this is set to TRUE
For further information about PLINK and its file formats, see https://zzz.bwh.harvard.edu/plink/
Purcell S, Neale B, Todd-Brown K, Thomas L, Ferreira MAR, Bender D, Maller J, Sklar P, de Bakker PIW, Daly MJ & Sham PC (2007) PLINK: a toolset for whole-genome association and population-based linkage analysis. American Journal of Human Genetics, 81.