Extracts count and proportion data for specified conditions and fraction types. Handles both single fraction and combined fraction analyses.
extract_condition_matrix(
originalcounts,
proportions,
annotation,
conditions,
types
)List containing:
counts: Total counts from whole cell samples
successes: Proportion data for specified fractions
annotation: Filtered and processed annotation
Original count matrix
Proportion estimates from FracFixR
Sample annotation data frame
Vector of conditions to extract
Vector of fraction types to analyze