Description Usage Arguments Details See Also Examples
This function computes a distance matrix. The distance is estimated
as one minus the absolute value of the correlation coefficient 1 - abs(cor)
.
1 | distCor(snp)
|
snp |
an object of class snpMatrix. |
See dist
for details about the output object.
1 2 3 4 5 | # file containing example data for SNP data
gfile <- system.file("extdata/snpdata.csv", package = "qtcat")
snp <- read.snpData(gfile, sep = ",")
dist <- distCor(snp[, 1:10])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.