pub fn differential_expression(
counts: &[f64],
n_genes: usize,
n_samples: usize,
condition: &[bool],
method: DeMethod,
) -> Result<DeResults>Expand description
Run differential expression analysis on a count matrix.
counts: row-majorn_genes × n_samplescount matrix.condition: boolean mask (true= treatment,false= control), one per sample.method: which test to apply.
Returns DeResults with genes sorted by ascending p-value.