% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessingMinfiEwasWater_steps.R
\name{extractMetricsMinfiEwasWater}
\alias{extractMetricsMinfiEwasWater}
\title{Extract beta, M, and copy-number matrices from a filtered object}
\usage{
extractMetricsMinfiEwasWater(
  filteredData,
  verbose = FALSE,
  logs = FALSE,
  log_dir = NULL,
  log_file = "log_extractMetricsMinfiEwasWater.txt"
)
}
\arguments{
\item{filteredData}{Object returned by \code{filterProbesMinfiEwasWater()}.}

\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_minfiEwasWater_metrics'} containing
\code{beta}, \code{m}, and \code{cn}.
}
\description{
Extract beta, M, and copy-number matrices from a filtered object
}
\examples{
ex <- dnaEPICO:::exampleMinfiMetricsStateDnaEpico()
metrics_data <- extractMetricsMinfiEwasWater(
    filteredData = ex$filteredData,
    verbose = FALSE,
    logs = FALSE
)
names(metrics_data)

}
