calculateDist | R Documentation |
Calculate a distance matrix based on correlation
calculateDist(plotmatrix, cor_method = "spearman")
plotmatrix |
Expression/ other data matrix |
cor_method |
'spearman' or 'perason' |
output Object of class 'dist'
data(airway, package = "airway")
mymatrix <- assays(airway)[[1]]
calculateDist(mymatrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.