MVP.Data.Pheno {rMVP} | R Documentation |
MVP.Data.Pheno: To clean up phenotype file Author: Haohao Zhang Build date: Sep 12, 2018
MVP.Data.Pheno(pheno_file, out = "mvp", cols = NULL, header = TRUE, sep = "\t", missing = c(NA, "NA", "-9", 9999), verbose = TRUE)
pheno_file |
the name of phenotype file |
out |
the name of output file |
cols |
selected columns |
header |
whether the file contains header |
sep |
seperator of the file |
missing |
the missing value |
verbose |
whether to print detail. |
NULL Output files: cleaned phenotype file
phePath <- system.file("extdata", "07_other", "mvp.phe", package = "rMVP") MVP.Data.Pheno(phePath, out=file.path(tempdir(), "rMVP.test"))