Use the Mantel Network Analysis Calculator to see how measured variables relate to each other and to a second group of variables in one figure. The Mantel Network Analysis Calculator combines a Pearson or Spearman correlation heatmap with permutation-tested Mantel links in a matrix-to-network pipeline, the kind of figure common in ecology, plant science, microbiome and environmental research. Upload your data below (CSV or Excel, or paste it), choose matrix variables and network variables, and run the analysis.
About Mantel network analysis
Mantel network analysis is a correlation-based network analysis. A matrix of correlations is drawn as a heatmap, and Mantel tests link each network variable to each matrix variable. Each Mantel test builds a Euclidean distance matrix between samples for each variable and correlates the two distance matrices, so the Mantel Network Analysis Calculator combines matrix correlation networks with distance matrix correlation in one matrix-to-network pipeline. Significance comes from permuting sample labels.
When to use Mantel network analysis
Use the Mantel Network Analysis Calculator for ecological network analysis, co-occurrence network analysis and microbial co-presence networks built from numeric variables, for example soil properties against microbial biomass, climate variables against plant traits, or metabolite levels against enzyme activity. Network-based exploratory data analysis (EDA) with a high-throughput matrix correlation view helps you decide where to look next.
What the Mantel Network Analysis Calculator reports
An upper-triangle correlation heatmap (Pearson or Spearman) with significance stars.
Mantel r and permutation p-values for every link between a network variable and a matrix variable, with a permutation count you choose.
An edge-weighted graph visualisation in which line width shows |Mantel r| and line colour shows the p-value, with filters for minimum |r| and significance.
Multi-matrix correlation visualization in one A4 figure, plus CSV results, an edge list and a Word file with APA 7 interpretation.
Related methods and limits
Weighted correlation network analysis (WGCNA), partial Mantel networks, differential correlation networks and multiplex correlation networks are related methods usually run in R. The Mantel Network Analysis Calculator runs a simple Mantel test per pair of variables. It does not run a multivariate or partial Mantel test, WGCNA modules or spatial-autocorrelation corrections. The edge list can be converted to an adjacency matrix for graph-theoretic matrix comparison.
Assumptions to check
Use at least 5 observations, avoid constant variables, and check for extreme outliers.
Permutation p-values depend on the number of permutations; with 499 the smallest possible p is .002.
Many links mean many tests, so interpret borderline results cautiously. Spatially or temporally structured samples can make Mantel p-values optimistic.
How to report it in APA7
State the variables, sample size, correlation method, number of permutations and the threshold used to draw links, then report Mantel r and p for each link you interpret. The Mantel Network Analysis Calculator writes an APA 7 interpretation of every table and figure panel. Read the full guide: Mantel network analysis explained, with StatFas, R, Python and SPSS.
Frequently asked questions
Is the Mantel Network Analysis Calculator free?
Yes. You can run the analysis and read the results without an account. Create a free account or log in only when you want to download results.
What does a Mantel link between two variables mean?
A significant Mantel r means samples that differ more in one variable also tend to differ more in the other variable. The result describes association between dissimilarity patterns, not cause.
Does the Mantel Network Analysis Calculator run partial Mantel tests or WGCNA?
No. Each link is a simple Mantel test between two variables. Partial Mantel tests and WGCNA are usually run in R with the vegan and WGCNA packages.
Is my data uploaded to a server?
The analysis runs in your browser. Your data stays on your device while you work with the Mantel Network Analysis Calculator.