plot_lrpair | R Documentation |
Point plot with LR pair from celltype_sender to celltype_receiver
plot_lrpair(
object,
celltype_sender,
celltype_receiver,
ligand,
receptor,
color = NULL,
size = 1,
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. |
ligand |
Name of ligand from celltype_sender. |
receptor |
Name of receptor from celltype_receiver. |
color |
Color for ligand, receptor, and others. Three values. |
size |
Point size. 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.