Learn R Programming

rMVP (version 1.1.1)

MVP.Data.Kin: Kinship

Description

Kinship

Usage

MVP.Data.Kin(
  fileKin = TRUE,
  mvp_prefix = "mvp",
  out = NULL,
  maxLine = 10000,
  sep = "\t",
  cpu = 1,
  verbose = TRUE
)

Value

Output file: <out>.kin.bin <out>.kin.desc

Arguments

fileKin

Kinship that represents relationship among individuals, n * n matrix, n is sample size

mvp_prefix

Prefix for mvp format files

out

prefix of output file name

maxLine

the number of markers handled at a time, smaller value would reduce the memory cost

sep

seperator for Kinship file.

cpu

the number of cpu

verbose

whether to print detail.

Examples

Run this code
# \donttest{
geno <- file.path(system.file("extdata", "06_mvp-impute", package = "rMVP"), "mvp.imp")

MVP.Data.Kin(TRUE, mvp_prefix=geno, out=tempfile("outfile"), cpu=1)
# }

Run the code above in your browser using DataLab