Learn R Programming

rMVP (version 1.4.0)

MVP.Data.impute: MVP.Data.impute: To impute the missing genotype Author: Haohao Zhang Build date: Sep 12, 2018

Description

MVP.Data.impute: To impute the missing genotype Author: Haohao Zhang Build date: Sep 12, 2018

Usage

MVP.Data.impute(
  mvp_prefix,
  out = NULL,
  mrk_bycol = TRUE,
  method = "Major",
  ncpus = NULL,
  verbose = TRUE
)

Value

NULL Output files: imputed genotype file

Arguments

mvp_prefix

the prefix of mvp file

out

the prefix of output file

mrk_bycol

whether the markers are stored by columns in genotype (i.e. genotype is a n by m matrix)

method

'Major', 'Minor', "Middle"

ncpus

number of threads for imputing

verbose

whether to print the reminder

Examples

Run this code
mvpPath <- file.path(system.file("extdata", "05_mvp", package = "rMVP"), "mvp")

MVP.Data.impute(mvpPath, tempfile("outfile"), ncpus=1)

Run the code above in your browser using DataLab