twinfer.inference.covariance_decomposition_z_scores.sister_arrays
- twinfer.inference.covariance_decomposition_z_scores.sister_arrays(table, genes, time_step)[source]
Arrange a long table into per-gene sister arrays.
table: DataFrame with clone_id, replicate (1 and 2), time_step and one column per gene. Returns (clone ids sorted, {gene: array of shape (N, 2)}) at time_step; raises ValueError unless every clone has both sisters.