show genes correlated with spatial patterns
showPatternGenes(
gobject,
spatPatObj,
dimension = 1,
top_pos_genes = 5,
top_neg_genes = 5,
point_size = 1,
return_DT = FALSE,
show_plot = NULL,
return_plot = NULL,
save_plot = NULL,
save_param = list(),
default_save_name = "showPatternGenes"
)
giotto object
Output from detectSpatialPatterns
dimension to plot genes for.
Top positively correlated genes.
Top negatively correlated genes.
size of points
if TRUE, it will return the data.table used to generate the plots
show plot
return ggplot object
directly save the plot [boolean]
list of saving parameters, see
showSaveParameters
default save name for saving, don't change, change save_name in save_param
ggplot