% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mi_network.R
\name{compute_mi_matrix}
\alias{compute_mi_matrix}
\title{Compute pairwise mutual information matrix}
\usage{
compute_mi_matrix(data, k = 5L)
}
\arguments{
\item{data}{A numeric matrix or data.frame with observations (samples) as
rows and variables (MAGs) as columns.}

\item{k}{Integer; number of neighbours for the kNN MI estimator.}
}
\value{
A symmetric numeric matrix of MI values with column names set.
}
\description{
Estimates pairwise mutual information for all variable pairs using the
k-nearest-neighbour estimator from \pkg{knnmi}.
}
\keyword{internal}
