runDistMat | R Documentation |
Performs distance matrix calculations that can be downstream used for
hierarchical clustering or phylogenetic analysis. Uses amap::Dist()
in order to parallelize distance calculations.
runDistMat(scCNA, metric = "euclidean", n_threads = 1)
scCNA |
scCNA object. |
metric |
distance metric passed to calculate the distance matrix. |
n_threads |
Number of threads used to calculate the distance matrix. Passed to 'amap::Dist'. |
A distance matrix in the slot distMat
from scCNA object.
Access the distance matrix with: distMat(scCNA, withDimnames = TRUE)
Darlan Conterno Minussi
copykit_obj <- copykit_example_filtered()[,1:10]
copykit_obj <- runDistMat(copykit_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.