compare_annotate | R Documentation |
Compare 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
)
cl |
A cluster factor object to compare to a reference |
ref.cl |
A cluster factor object for the reference clusters |
ref.cl.df |
A data.frame with reference cluster annotations that includes a "cluster_label" column |
reorder |
Whether or not to reorder the overlaps by overlap size. Default = TRUE |
rename |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.