R/annotate.R
compare_annotate.RdCompare two sets of cluster assignments for the same set of cells
compare_annotate(
cl,
ref.cl,
ref.cl.df = NULL,
reorder = TRUE,
rename = TRUE,
do.droplevels = TRUE,
min.th = 1
)A cluster factor object to compare to a reference
A cluster factor object for the reference clusters
A data.frame with reference cluster annotations that includes a "cluster_label" column
Whether or not to reorder the overlaps by overlap size. Default = TRUE
a logical indicating whether or not to rename the results.
a list with 5 objects:
cl
cl.df
g A ggplot2 dot plot object for the comparison.
tb.df
cl.id.map