How irislity/biotrajx works
BioTrajX is an R package for judging whether single-cell pseudotime trajectories agree with biological marker knowledge. The main workflow supplies expression, pseudotime, and marker sets; computes Directionality, Order, and Endpoint metrics for linear or branched trajectories; then compares results with plots. README also documents marker retrieval and filtering. Source excerpts were limited to a figure-generation script, so edges below rely on README statements; implementation-level call paths could not be verified. The figure script is peripheral to runtime behavior.
Main entry points: doe_wrapper.R Linear DOE analysis · branching.R Branched DOE analysis · markers.R Marker retrieval · metric_directionality.R Directionality metric
Components 15
Inputs and markers
- Expression data
- Pseudotime orderings
- Marker sources
- Marker retrieval
R/markers.R - Marker filtering
R/markers.R - Marker sets
DOE scoring
- Directionality metric
R/metric_directionality.R - Order metric
R/metric_order.R - Endpoint metric
R/metric_endpoint.R
Trajectory analysis
- Linear DOE analysis
R/doe_wrapper.R - Branched DOE analysis
R/branching.R - Multiple-trajectory comparison
R/doe_wrapper.R
Results and comparison
- DOE results
R/doe_wrapper.R - DOE visualizations
R/doe_wrapper.R
Other components
- Analyst
Connections 22
- Analyst → Expression data: provides
README.md - Analyst → Pseudotime orderings: provides
README.md - Analyst → Marker retrieval: requests markers
README.md - Marker sources → Marker retrieval: supplies markers
README.md - Marker retrieval → Marker sets: returns sets
README.md - Analyst → Marker filtering: requests filtering
README.md - Marker filtering → Marker sets: retains detected genes
README.md - Analyst → Marker sets: supplies sets
README.md - Analyst → Linear DOE analysis: runs
README.md - Analyst → Branched DOE analysis: runs
README.md - Linear DOE analysis → Directionality metric: computes
README.md - Linear DOE analysis → Order metric: computes
README.md - Linear DOE analysis → Endpoint metric: computes
README.md - Branched DOE analysis → Directionality metric: computes
README.md - Branched DOE analysis → Order metric: computes
README.md - Branched DOE analysis → Endpoint metric: computes
README.md - Analyst → Multiple-trajectory comparison: compares trajectories
README.md - Multiple-trajectory comparison → DOE results: produces scores
README.md - Linear DOE analysis → DOE results: produces scores
README.md - Branched DOE analysis → DOE results: produces scores
README.md - Analyst → DOE visualizations: requests plots
README.md - DOE results → DOE visualizations: summarized by
README.md