Learn R Programming

rMVP (version 1.1.1)

MVP.Data.Pheno: MVP.Data.Pheno: To clean up phenotype file Author: Haohao Zhang Build date: Sep 12, 2018

Description

MVP.Data.Pheno: To clean up phenotype file Author: Haohao Zhang Build date: Sep 12, 2018

Usage

MVP.Data.Pheno(
  pheno_file,
  out = "mvp",
  cols = NULL,
  header = TRUE,
  sep = "\t",
  missing = c(NA, "NA", "-9", 9999),
  verbose = TRUE
)

Value

NULL Output files: cleaned phenotype file

Arguments

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.

Examples

Run this code
phePath <- system.file("extdata", "07_other", "mvp.phe", package = "rMVP")

MVP.Data.Pheno(phePath, out=tempfile("outfile"))

Run the code above in your browser using DataLab