Description Usage Arguments Value See Also Examples
Coerce a matrix to a compressed haplotype matrix
1 2 3 | haplomatrix(M, IndividualsPerColumn=TRUE, DoubledIndividuals=TRUE)
## S3 method for class 'haplomatrix'
as(object, ...)
|
M,object |
matrix of two rows containing only the values 0 and 1 |
IndividualsPerColumn |
\ipc |
DoubledIndividuals |
\dindiv |
... |
All arguments of |
an object of class genomicmatrix
Note that a haplotype file can be read in by
genomicmatrix
.
as.matrix
transforms a genomicmatrix
to
a human readable matrix.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.