simer.Data.MVP2Bfile | R Documentation |
transforming MVP data to binary format.
simer.Data.MVP2Bfile(
bigmat,
map,
pheno = NULL,
out = "simer",
threads = 1,
verbose = TRUE
)
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. |
Build date: Sep 12, 2018 Last update: Jan 29, 2025
NULL Output files: .bed, .bim, .fam
Haohao Zhang and Dong Yin
library(bigmemory)
# 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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.