| dense2sparse | R Documentation |
Reads a numeric genotype file and converts it to a sparse matrix format.
dense2sparse(file.name, num.genotypes, separator, progress = TRUE)
file.name |
Path to the numeric genotype file. Could be (and should be) gzipped. |
num.genotypes |
Maximum number of genotypes to read. An upper bound is OK. |
separator |
"\t" or "," etc that separates the entries in a line. |
progress |
Whether to show a progress bar (default TRUE). |
A sparse matrix of class dgCMatix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.