MVP.Data.Kin: Kinship

View source: R/MVP.Data.r

MVP.Data.KinR Documentation

Kinship

Description

Kinship

Usage

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

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.

Value

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

Examples


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)



rMVP documentation built on Sept. 11, 2024, 8:56 p.m.

Related to MVP.Data.Kin in rMVP...