View source: R/simer.Genotype.r
bigt | R Documentation |
Transport genotype matrix.
bigt(pop.geno, ncpus = 0)
pop.geno |
genotype matrix of (0, 1). |
ncpus |
the number of threads used, if NULL, (logical core number - 1) is automatically used. |
Build date: Jan 28, 2025 Last update: Jan 29, 2025
genotype matrix of (0, 1, 2).
Dong Yin
library(bigmemory)
options(bigmemory.typecast.warning=FALSE)
pop.geno <- matrix(sample(c(0, 1), 16, replace = TRUE), 4, 4)
pop.geno[]
bigmat <- bigt(pop.geno)
bigmat[]
pop.geno <- as.big.matrix(pop.geno, type = 'char')
bigmat <- bigt(pop.geno)
bigmat[]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.