MVP.Data.impute: MVP.Data.impute: To impute the missing genotype Author:...

View source: R/MVP.Data.r

MVP.Data.imputeR Documentation

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
)

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

Value

NULL Output files: imputed genotype file

Examples

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

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


XiaoleiLiuBio/MVP documentation built on Jan. 3, 2025, 5:59 a.m.