% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dcor_network.R
\name{compute_dcor_matrix}
\alias{compute_dcor_matrix}
\title{Compute pairwise distance correlation matrix}
\usage{
compute_dcor_matrix(data)
}
\arguments{
\item{data}{A numeric matrix or data.frame with observations (samples)
as rows and variables (MAGs) as columns.}
}
\value{
A symmetric numeric matrix of dCor values. Diagonal is 0.
}
\description{
Computes the distance correlation for every pair of variables using
\code{\link[energy:dcov]{energy::dcor()}}. The result is a symmetric matrix with zeros on the
diagonal.
}
\keyword{internal}
