function to view HMRF results with multiple betas
viewHMRFresults_V2(
gobject,
k,
betas,
hmrf_name,
spat_unit = NULL,
feat_type = NULL,
third_dim = FALSE,
cow_n_col = 2,
cow_rel_h = 1,
cow_rel_w = 1,
cow_align = "h",
show_plot = TRUE,
save_plot = TRUE,
return_plot = TRUE,
default_save_name = "HMRF_result",
save_param = list(),
...
)
giotto object
number of clusters in hmrf results
values of beta to plot
name of hmrf models
spatial unit
feature type
index of 3D plot
number of columns to show in figure
relative height
relative width
cowplot alignment parameter
option to show plot
option to save plot
if function return a plot
names of figure file to save
other saving parameters
additional params to pass to plotting
spatial plots with HMRF domains
This function plots spatial map of HMRF domain clusters for multiple beta with the name (hmrf_name), matching the first part of the cell meta column names with HMRF clusters (for example name of ‘hmrf1 k=8 b=0.00’ is ‘hmrf1’)