Learn R Programming

rMVP (version 0.99.14.1)

MVP.Data.Kin: Kinship

Description

Kinship

Usage

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

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

number of SNPs, only used for saving memory when calculate kinship matrix

priority

"speed" or "memory"

sep

seperator for Kinship file.

Value

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

Examples

Run this code
# NOT RUN {
geno <- file.path(system.file("extdata", "06_mvp-impute", package = "rMVP"), "mvp.imp")
MVP.Data.Kin(TRUE, mvp_prefix=geno, out="rMVP.test.kin")
# }

Run the code above in your browser using DataLab