This scatter plot shows the dominant senders (sources) and receivers (targets) in a 2D space. Dot size is proportional to the number of inferred links (both outgoing and incoming) associated with each cell group. Dot colors indicate different cell groups. Dot shapes indicate different categories of cell groups if `group`` is defined.
netAnalysis_signalingRole_scatter(
object,
signaling = NULL,
color.use = NULL,
slot.name = "netP",
group = NULL,
weight.MinMax = NULL,
dot.size = c(2, 6),
point.shape = c(21, 22, 24, 23, 25, 8, 3),
label.size = 3,
dot.alpha = 0.6,
xlabel = "Outgoing interaction strength",
ylabel = "Incoming interaction strength",
title = NULL,
font.size = 10,
font.size.title = 10,
do.label = T,
show.legend = T,
show.axes = T
)
CellChat object
a char vector containing signaling pathway names. signaling = NULL: Signaling role analysis on the aggregated cell-cell communication network from all signaling pathways
defining the color for each cell group
the slot name of object that is used to compute centrality measures of signaling networks
a vector to categorize the cell groups, e.g., categorize the cell groups into two major categories: immune cells and fibroblasts
the Minmum/maximum weight, which is useful to control the dot size when comparing multiple datasets
a range defining the size of the symbol
point shape when group is not NULL
font size of the text
transparency
label of x-axis
label of y-axis
main title of the plot
font size of the text
font size of the title
label the each point
whether show the legend
whether show the axes
ggplot object