cor_to_call | R Documentation |
get best calls for each cluster
cor_to_call(
cor_mat,
metadata = NULL,
cluster_col = "cluster",
collapse_to_cluster = FALSE,
threshold = 0,
rename_prefix = NULL,
carry_r = FALSE
)
cor_mat |
input similarity matrix |
metadata |
input metadata with tsne or umap coordinates and cluster ids |
cluster_col |
metadata column, can be cluster or cellid |
collapse_to_cluster |
if a column name is provided, takes the most frequent call of entire cluster to color in plot |
threshold |
minimum correlation coefficent cutoff for calling clusters |
rename_prefix |
prefix to add to type and r column names |
carry_r |
whether to include threshold in unassigned names |
dataframe of cluster, new ident, and r info
res <- clustify(
input = pbmc_matrix_small,
metadata = pbmc_meta,
cluster_col = "classified",
ref_mat = cbmc_ref
)
cor_to_call(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.