simer.Data.Kin {simer}R Documentation

simer.Data.EMMA: To construct EMMA kinship matrix

Description

constructing EMMA kinship matrix.

Usage

simer.Data.Kin(
  fileKin = TRUE,
  fileMVP = "simer",
  out = NULL,
  method = "EMMA",
  sep = "\t",
  threads = 10,
  verbose = TRUE
)

Arguments

fileKin

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

fileMVP

prefix for mvp format files.

out

prefix of output file name.

method

only"EMMA" method for now.

sep

seperator for Kinship file.

threads

the number of cpu.

verbose

whether to print detail.

Details

Build date: Apr 19, 2023 Last update: Apr 19, 2023

Value

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

Author(s)

Haohao Zhang and Dong Yin

Examples


# Get the prefix of genotype data
fileMVP <- system.file("extdata", "01bigmemory", "demo", package = "simer")

# Check map data
simer.Data.Kin(fileKin = TRUE, fileMVP = fileMVP, out = tempfile("outfile"))


[Package simer version 0.9.0.4 Index]