Description Usage Arguments Details See Also Examples
This is the base plot for superimposing annotations like cell types, cluster assignments, and measured activities.
1 2 3 |
df |
plot data |
x |
variable for x-axis |
y |
variable for y-axis |
color |
variable for point colors (default is black) |
size |
size for |
alpha |
alpha for |
palette |
palette for continuous colors. One of cloupe (the default), brewer, viridis. |
labels |
labels for groups |
label_legend |
add labels to legend |
label_groups |
add labels to points |
Embeddings can be calculated by calc_umap()
and calc_tsne()
, and
retrieved with tidy_dims()
.
Other plot functions: plot_activity
,
plot_hairpin_coverage
1 2 3 4 5 6 7 8 9 10 11 12 | plot_dims(fsce_tidy, UMAP1, UMAP2, size = 1)
plot_dims(fsce_tidy, UMAP1, UMAP2, IL7R, size = 1)
plot_dims(fsce_tidy, UMAP1, UMAP2, Uracil_45, size = 1)
plot_dims(fsce_tidy, UMAP1, UMAP2, k_cluster, size = 1)
plot_dims(fsce_tidy, UMAP1, UMAP2, k_cluster, labels = LETTERS[1:6])
plot_dims(fsce_tidy, UMAP1, UMAP2, k_cluster,
labels = LETTERS[1:6], label_groups = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.