extract_condition_matrix: extract_condition_matrix: Extract and Prepare Data for...

View source: R/fracfixr.r

extract_condition_matrixR Documentation

extract_condition_matrix: Extract and Prepare Data for Statistical Testing

Description

Extracts count and proportion data for specified conditions and fraction types. Handles both single fraction and combined fraction analyses.

Usage

extract_condition_matrix(
  originalcounts,
  proportions,
  annotation,
  conditions,
  types
)

Arguments

originalcounts

Original count matrix

proportions

Proportion estimates from FracFixR

annotation

Sample annotation data frame

conditions

Vector of conditions to extract

types

Vector of fraction types to analyze

Value

List containing:

  • counts: Total counts from whole cell samples

  • successes: Proportion data for specified fractions

  • annotation: Filtered and processed annotation


FracFixR documentation built on May 11, 2026, 9:09 a.m.