PseudotimeMSProcess
PseudotimeMSProcess.RdPerform multi-sample pattern integration for Pseudotimecascade results
Value
A list (hereafter referred to as gene_mean_list) containing:
- mean_expr
Matrix of averaged fitted expression across samples.
- mean_pattern
Gene pattern result based on mean trajectory.
- df_pattern
Consensus pattern table with confidence scores.
- df_qvalue
Filtered q-value matrix aligned to consensus genes.
- df_switch_point
List of switch point interval matrices across samples.
Details
This function integrates single-sample Pseudotimecascade results stored in a list and
performs consensus pattern analysis across samples. For each gene, the
most frequent expression pattern is identified, and a confidence score
is computed as the proportion of samples supporting the dominant pattern.
Genes with confidence greater than or equal to conf and passing
the q-value threshold are retained.
For retained genes, the function:
Computes the average fitted expression trajectory across valid samples.
Reassigns gene patterns based on the mean trajectory.
Collects sample-level switch points and organizes them into interval matrices.