Description Usage Arguments Value See Also
Gets a bed file as a regular R matrix.
1 | bedasmatrix(bed, meanimpute = FALSE, normalise = TRUE, verbose = TRUE)
|
bed |
The "rbed" object to read |
meanimpute |
(default FALSE) Whether to replace missing values with their mean (if normalise=TRUE only) |
normalise |
(default TRUE) Whether to normalise data by SNP frequency, or return counts. |
verbose |
(default TRUE) whether to show progress for individual access |
A matrix of data with the additional attribute "idx" referring to the indexes of the returned individuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.