network_contribution_heatmap.RdDraws a base R heatmap from the contribution_matrix stored in a fitted
network_meta object.
network_contribution_heatmap(
nma_object,
main = "Contribution Matrix Heatmap",
xlab = "Direct Comparison Estimate",
ylab = "Network Comparison",
low = "#F7FBFF",
mid = "#6BAED6",
high = "#08306B",
n_colors = 100,
show_values = FALSE,
value_digits = 1,
value_cex = 0.6,
text_col = "#111111",
show_legend = TRUE,
legend_side = c("right", "left"),
legend_title = NULL,
main_adj = 0.5,
main_line = NULL
)A fitted object returned by network_meta.
Plot title.
Label for the x-axis.
Label for the y-axis.
Color for low contributions.
Color for mid contributions.
Color for high contributions.
Number of colors in the gradient.
Logical; if TRUE, cell percentages are printed.
Digits for printed percentages.
Text size for printed percentages.
Color for printed values.
Logical; if TRUE, draws the heatmap color legend.
Side for the color legend: "right" or "left".
Optional title drawn above the color legend.
Horizontal title alignment in [0, 1].
Optional title line. If NULL, default is used.
Invisibly returns the contribution matrix used in the plot.