Visualize the inferred signaling network of individual L-R pairs
netVisual_individual(
object,
signaling,
signaling.name = NULL,
pairLR.use = NULL,
color.use = NULL,
vertex.receiver = NULL,
sources.use = NULL,
targets.use = NULL,
top = 1,
remove.isolate = FALSE,
vertex.weight = NULL,
vertex.weight.max = NULL,
vertex.size.max = 15,
vertex.label.cex = 0.8,
weight.scale = TRUE,
edge.weight.max = NULL,
edge.width.max = 8,
layout = c("hierarchy", "circle", "chord"),
height = 5,
thresh = 0.05,
group = NULL,
cell.order = NULL,
small.gap = 1,
big.gap = 10,
scale = FALSE,
reduce = -1,
show.legend = FALSE,
legend.pos.x = 20,
legend.pos.y = 20,
nCol = NULL,
...
)
CellChat object
a signaling pathway name
alternative signaling pathway name to show on the plot
a char vector or a data frame consisting of one column named "interaction_name", defining the L-R pairs of interest
the character vector defining the color of each cell group
a numeric vector giving the index of the cell groups as targets in the first hierarchy plot
a vector giving the index or the name of source cell groups
a vector giving the index or the name of target cell groups.
the fraction of interactions to show
whether remove the isolate nodes in the communication network
The weight of vertex: either a scale value or a vector
the maximum weight of vertex; defualt = max(vertex.weight)
the maximum vertex size for visualization
The label size of vertex in the network
whether scale the edge weight
the maximum weight of edge; defualt = max(net)
The maximum edge width for visualization
"hierarchy", "circle" or "chord"
height of plot
threshold of the p-value for determining significant interaction
Parameters below are set for "chord" diagram. Please also check the function `netVisual_chord_cell` for more parameters.
A named group labels for making multiple-group Chord diagrams. The sector names should be used as the names in the vector. The order of group controls the sector orders and if group is set as a factor, the order of levels controls the order of groups.
a char vector defining the cell type orders (sector orders)
Small gap between sectors.
Gap between the different sets of sectors, which are defined in the `group` parameter
scale each sector to same width; default = FALSE; however, it is set to be TRUE when remove.isolate = TRUE
if the ratio of the width of certain grid compared to the whole circle is less than this value, the grid is removed on the plot. Set it to value less than zero if you want to keep all tiny grid.
whether show the figure legend
adjust the legend position
number of columns when displaying the figures using "circle" or "chord"
other parameters (e.g.,vertex.label.cex, vertex.label.color, alpha.edge, label.edge, edge.label.color, edge.label.cex, edge.curved) passing to `netVisual_hierarchy1`,`netVisual_hierarchy2`,`netVisual_circle`. NB: some parameters might be not supported
an object of class "recordedplot"