Description Usage Arguments Value Author(s)
View source: R/calc_similarity.R
Calculate repertoire similarity between clusters
1 2 3 4 5 6 7 8 | calc_similarity(
SCE_in,
clonotype_col = "cdr3_nt",
cluster_col,
method = abdiv::jaccard,
prefix = NULL,
return_SCE = TRUE
)
|
SCE_in |
Seurat object |
clonotype_col |
meta.data column containing clonotype IDs to use for calculating overlap |
cluster_col |
meta.data column containing cluster IDs to use for calculating overlap |
method |
Method to use for calculating similarity between clusters |
prefix |
Prefix to add to new meta.data columns |
return_SCE |
Return a Seurat object. If set to FALSE, a matrix is returned |
Seurat object with similarity index added to meta.data
djvdj authors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.