Learn R Programming

netmeta (version 3.7-0)

heatplot.netpath: Heat plot for network path

Description

Produces a heat plot to visualize the results of a path-based inconsistency test for a specific comparison, as generated by netpath. The plot shows a standardized matrix derived from the linearly independent paths connecting the two selected nodes, allowing visual inspection of the agreement of each path.

Usage

# S3 method for netpath
heatplot(x, ...)

Value

A heat plot where the darker colors indicate a larger conflict between the two paths.

Arguments

x

An object of class netmeta.

...

Additional arguments (ignored).

Author

Noosheen R. Tahmasebi [email protected], Guido Schwarzer [email protected]

References

Tahmasebi NR, Davies AL, Papakonstantinou T, Rücker G, Nikolakopoulou A (2025): Path-based approach for detecting and assessing inconsistency in network meta-analysis: A novel method. arXiv, tools:::Rd_expr_doi("https://doi.org/10.48550/arXiv.2506.20364")

See Also

netpath, netmeta

Examples

Run this code
if (FALSE) {
# Transform data from long arm-based to contrast-based format
#
pw <- pairwise(studlab = study, treat = treatment,
  n = n, mean = mean, sd = sd, data = Senn2013,
  varnames = c("MD", "seMD"))

# Conduct common effects network meta-analysis
#
nma <- netmeta(pw, random = FALSE, nchar.trts = 4)

np <- netpath(nma, node1 = "Placebo", node2 = "Sulfonylurea")
heatplot(np)
}

Run the code above in your browser using DataLab