Creates a circos plot from the list of ligands and receptors

circos_plot(
  ligand_receptor_frame,
  cell_group_colors,
  ligand_color = "blue",
  receptor_color = "red",
  cex_outer = 0.5,
  cex_inner = 0.4
)

Arguments

ligand_receptor_frame

Resulting tibble (usually filtered in some way) from the celltalk function.

cell_group_colors

Colors used for the groups of cells in the outer track of the circos plot.

ligand_color

Color to use for ligands. Defaults to "blue".

receptor_color

Color to use for the receptors. Defaults to "red".

cex_outer

Size of the text for the cell groups in the outer layer of the circos plot. Default is 0.5.

cex_inner

Size of the text for the ligand and receptors in the inner layer of the circos plot. Default is 0.4.

Value

Generates a circos plot connecting ligands and receptors across cell types for a given sample group