Description Usage Arguments Examples
As matrix method for an object of class snpMatrix.
1 2 | ## S4 method for signature 'snpMatrix'
as.matrix(x)
|
x |
an object of class snpMatrix. |
1 2 3 4 | # file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
snpmat <- as.matrix(snp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.