simer.Data.MVP2Bfile {simer} | R Documentation |
simer.Data.MVP2Bfile: To transform MVP data to binary format
Description
transforming MVP data to binary format.
Usage
simer.Data.MVP2Bfile(
bigmat,
map,
pheno = NULL,
out = "simer",
threads = 10,
verbose = TRUE
)
Arguments
bigmat |
Genotype in bigmatrix format (0,1,2). |
map |
the map file. |
pheno |
the phenotype file. |
out |
the name of output file. |
threads |
the number of threads used, if NULL, (logical core number - 1) is automatically used. |
verbose |
whether to print the reminder. |
Details
Build date: Sep 12, 2018 Last update: July 20, 2022
Value
NULL Output files: .bed, .bim, .fam
Author(s)
Haohao Zhang and Dong Yin
Examples
# Generate bigmat and map
bigmat <- as.big.matrix(matrix(1:6, 3, 2))
map <- generate.map(pop.marker = 3)
# Data converting
simer.Data.MVP2Bfile(bigmat, map, out=tempfile("outfile"))
[Package simer version 0.9.0.4 Index]