MultiNicheNet provides a comprehensive suite of visualization functions for exploring and communicating cell-cell communication analysis results. This gallery showcases all major plot types with example code.
| Function | Description | Use Case |
|---|---|---|
make_sample_lr_prod_plots |
L-R product across samples | Sample-level patterns |
make_ligand_receptor_lfc_plot |
Log fold change visualization | DE comparison |
make_circos_lr |
Circos plot of interactions | Network overview |
make_mushroom_plot |
Mushroom-style bubble plot | Multi-criteria display |
make_ligand_activity_plots |
Ligand activity heatmaps | Activity inference |
make_target_gene_plots |
Target gene expression | Downstream effects |
The L-R product plot shows the combined expression of ligand-receptor pairs across samples:
library(multinichenetr)
library(dplyr)
# Load example output (from your analysis)
# output <- multi_nichenet_analysis(...)
# Select top interactions
prioritized_tbl <- output$prioritization_tables$group_prioritization_tbl %>%
filter(fraction_expressing_ligand_receptor > 0) %>%
filter(group == "High") %>%
top_n(15, prioritization_score)
# Create L-R product plot
p_lr_prod <- make_sample_lr_prod_plots(
output$prioritization_tables,
prioritized_tbl
)
print(p_lr_prod)Circos plots provide a global view of cell-cell communication patterns:
# Create circos plot
make_circos_lr(
prioritized_tbl = prioritized_tbl,
colors_sender = c("Macrophage" = "#E41A1C", "Fibroblast" = "#377EB8"),
colors_receiver = c("Tcell" = "#4DAF4A", "Bcell" = "#984EA3")
)For a more detailed view with ligand-receptor annotations: