plot_ccdist | R Documentation |
Point plot with spatial distribution of celltype_sender and celltype_receiver
plot_ccdist(
object,
celltype_sender,
celltype_receiver,
color = NULL,
size = 1,
if_plot_others = T,
if_plot_density = T,
if_plot_edge = T,
if_show_arrow = T,
arrow_length = 0.05,
plot_cells = NULL
)
object |
SpaTalk object generated from |
celltype_sender |
Name of celltype_sender. |
celltype_receiver |
Name of celltype_receiver. |
color |
Color for celltype_sender, celltype_receiver, and others. Three values. |
size |
Point size. Default is |
if_plot_others |
Whether to plot others. Default is |
if_plot_density |
Whether to plot marginal density plots. Default is |
if_plot_edge |
Whether to plot edge between neighbors. Default is |
if_show_arrow |
Whether to show the arrow of the plotted edge. Default is |
arrow_length |
Arrow length. |
plot_cells |
Which cells to plot. Default is all cells. Input a character vector of cell names to plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.