AddDist | R Documentation |
Generates a distance matrix for the active assay of the given object.
AddDist(pisces.obj, use.pcs = TRUE, dist.method = c("cor", "l1", "l2"))
pisces.obj |
A Seurat object w/ either 'scale.data' in the active assay or 'pca' object in the 'misc' field of the active assay. |
use.pcs |
Flag to indicate whether PCA should be used. If true, object must have 'pca' object in the 'misc' field of the active assay. |
dist.method |
One of 'cor', 'l1', or 'l2'. Default of 'cor'. |
Seurat object with a 'dist' object added to the 'misc' field of the active assay.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.