powered by
For each SNP (i.e., a row in the BED), a byte encodes the up to 4 genotype samples (2 bits each).
dbd(B, N, quiet = TRUE)
a N x P matrix of genotype, where P is the number of variants.
byte data in R "raw" mode
number of individuals in the byte data.
do not report (def=TRUE)
The function decodes bytes read from a BED to allele dosage or NA.