Names of ligands/receptors or signaling pathways will be displayed in this chord diagram
netVisual_chord_gene(
object,
slot.name = "net",
color.use = NULL,
signaling = NULL,
pairLR.use = NULL,
net = NULL,
sources.use = NULL,
targets.use = NULL,
lab.cex = 0.8,
small.gap = 1,
big.gap = 10,
annotationTrackHeight = c(0.03),
link.visible = TRUE,
scale = FALSE,
directional = 1,
link.target.prop = TRUE,
reduce = -1,
transparency = 0.4,
link.border = NA,
title.name = NULL,
legend.pos.x = 20,
legend.pos.y = 20,
show.legend = TRUE,
thresh = 0.05,
...
)
CellChat object
the slot name of object: slot.name = "net" when visualizing links at the level of ligands/receptors; slot.name = "netP" when visualizing links at the level of signaling pathways
colors for the cell groups
a character vector giving the name of signaling networks
a data frame consisting of one column named either "interaction_name" or "pathway_name", defining the interactions of interest
A data frame consisting of the interactions of interest. net should have at least three columns: "source","target" and "interaction_name" when visualizing links at the level of ligands/receptors; "source","target" and "pathway_name" when visualizing links at the level of signaling pathway; "interaction_name" and "pathway_name" must be the matched names in CellChatDB$interaction.
a vector giving the index or the name of source cell groups
a vector giving the index or the name of target cell groups.
font size for the text
Small gap between sectors.
Gap between the different sets of sectors, which are defined in the `group` parameter
annotationTrack Height
whether plot the link. The value is logical, if it is set to FALSE, the corresponding link will not plotted, but the space is still ocuppied. The format is a matrix with names or a data frame with three columns
scale each sector to same width; default = FALSE; however, it is set to be TRUE when remove.isolate = TRUE
Whether links have directions. 1 means the direction is from the first column in df to the second column, -1 is the reverse, 0 is no direction, and 2 for two directional.
If the Chord diagram is directional, for each source sector, whether to draw bars that shows the proportion of target sectors.
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.
Transparency of link colors
border for links, single scalar or a matrix with names or a data frame with three columns
title name of the plot
adjust the legend position
whether show the figure legend
threshold of the p-value for determining significant interaction when visualizing links at the level of ligands/receptors;
other parameters to chordDiagram
an object of class "recordedplot"