% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessingPheno_steps.R
\name{loadMetricsPreprocessingPheno}
\alias{loadMetricsPreprocessingPheno}
\title{Load methylation metric matrices for preprocessingPheno}
\usage{
loadMetricsPreprocessingPheno(
  betaPath,
  mPath,
  cnPath,
  verbose = FALSE,
  logs = FALSE,
  log_dir = NULL,
  log_file = "log_loadMetricsPreprocessingPheno.txt"
)
}
\arguments{
\item{betaPath}{Character. Path to the saved beta-value object.}

\item{mPath}{Character. Path to the saved M-value object.}

\item{cnPath}{Character. Path to the saved copy-number object.}

\item{verbose}{Logical. If \code{TRUE}, emit progress messages with \code{message()}.}

\item{logs}{Logical. If \code{TRUE}, write the same messages to a log file.}

\item{log_dir}{Character or \code{NULL}. Directory used for the log file when
\code{logs = TRUE}.}

\item{log_file}{Character. File name used when \code{logs = TRUE}.}
}
\value{
A list with class \code{'dnaEPICO_preprocessingPheno_metrics'}
containing \code{beta}, \code{m}, and \code{cn}.
}
\description{
Load the metric matrices generated by \code{preprocessingMinfiEwasWater()} and
return them as a single in-memory object for downstream phenotype alignment.
}
\examples{
ex <- dnaEPICO:::examplePreprocessingPhenoStateDnaEpico()
metrics_data <- loadMetricsPreprocessingPheno(
    betaPath = ex$betaPath,
    mPath = ex$mPath,
    cnPath = ex$cnPath,
    verbose = FALSE,
    logs = FALSE
)
names(metrics_data)

}
