reconstruct_ancestral_states
Infer ancestral states at internal nodes of a lineage tree using continuous or parsimony methods. Results are added as node attributes for downstream analysis.
Instructions
Infer internal-node states for the given keys (obs cols / var / obsm) on a tree.
Methods include "mean" (continuous) and parsimony-based (Fitch-Hartigan / Sankoff) depending on the data. Results are written as node attributes on the tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| method | No | mean | |
| tree_key | Yes | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |