% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bootstrap.R
\name{.bootstrap_single}
\alias{.bootstrap_single}
\title{Single bootstrap iteration}
\usage{
.bootstrap_single(iter, data, k, use_mrnet)
}
\arguments{
\item{iter}{Integer; iteration number (unused but required by
\code{sfClusterApplyLB}).}

\item{data}{Numeric matrix (samples x MAGs).}

\item{k}{Integer; kNN parameter for MI estimation.}

\item{use_mrnet}{Logical; if \code{TRUE}, apply MRNET; if \code{FALSE}, extract
all pairwise MI edges.}
}
\value{
A named list with \code{MRNET} (data.frame) and \code{dCor}
(data.frame).
}
\description{
Resamples rows of \code{data} with replacement, computes the MI matrix,
optionally applies MRNET or extracts all MI edges, and computes dCor
edges.
}
\keyword{internal}
