Learn R Programming

FracFixR (version 1.0.0)

extract_condition_matrix: 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
)

Value

List containing:

  • counts: Total counts from whole cell samples

  • successes: Proportion data for specified fractions

  • annotation: Filtered and processed annotation

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