R/spatial_interaction_visuals.R
plotCombineInteractionChangedGenes.Rd
Create visualization for combined (pairwise) ICG scores
plotCombineInteractionChangedGenes(
gobject,
combCpgObject,
selected_interactions = NULL,
selected_gene_to_gene = NULL,
detail_plot = T,
simple_plot = F,
simple_plot_facet = c("interaction", "genes"),
facet_scales = "fixed",
facet_ncol = length(selected_gene_to_gene),
facet_nrow = length(selected_interactions),
colors = c("#9932CC", "#FF8C00"),
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "plotCombineICG"
)
giotto object
ICGscores, output from combineInteractionChangedGenes()
interactions to show
pairwise gene combinations to show
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