% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fracfixr.r
\name{extract_condition_matrix}
\alias{extract_condition_matrix}
\title{extract_condition_matrix: Extract and Prepare Data for Statistical Testing}
\usage{
extract_condition_matrix(
  originalcounts,
  proportions,
  annotation,
  conditions,
  types
)
}
\arguments{
\item{originalcounts}{Original count matrix}

\item{proportions}{Proportion estimates from FracFixR}

\item{annotation}{Sample annotation data frame}

\item{conditions}{Vector of conditions to extract}

\item{types}{Vector of fraction types to analyze}
}
\value{
List containing:
  \itemize{
    \item counts: Total counts from whole cell samples
    \item successes: Proportion data for specified fractions
    \item annotation: Filtered and processed annotation
  }
}
\description{
Extracts count and proportion data for specified conditions and fraction types.
Handles both single fraction and combined fraction analyses.
}
\keyword{internal}
