R/spatial_interaction_visuals.R
plotCombineCellCellCommunication.Rd
Create visualization for combined (pairwise) cell proximity gene scores
plotCombineCellCellCommunication(
gobject,
combCCcom,
selected_LR = NULL,
selected_cell_LR = NULL,
detail_plot = T,
simple_plot = F,
simple_plot_facet = c("interaction", "genes"),
facet_scales = "fixed",
facet_ncol = length(selected_LR),
facet_nrow = length(selected_cell_LR),
colors = c("#9932CC", "#FF8C00"),
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "plotCombineCellCellCommunication"
)
giotto object
combined communcation scores, output from combCCcom()
selected ligand-receptor pair
selected cell-cell interaction pair for ligand-receptor pair
show detailed info in both interacting cell types
show a simplified plot
facet on interactions or genes with simple plot
ggplot facet scales paramter
ggplot facet ncol parameter
ggplot facet nrow parameter
vector with two colors to use
show plots
return plotting object
directly save the plot [boolean]
list of saving parameters from all_plots_save_function
default save name for saving, don't change, change save_name in save_param
ggplot