compare_trees
Compare two trees in a dataset using Robinson-Foulds distance or triplet resolution metrics to quantify their similarity.
Instructions
Compare two trees in the same dataset.
Metrics:
"rf": Robinson-Foulds distance (also returns RF/RF_max as normalized).
"triplets": mean fraction of triplets correctly resolved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | rf | |
| tree_key1 | Yes | ||
| tree_key2 | Yes | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| metric | Yes | ||
| tree_key1 | Yes | ||
| tree_key2 | Yes | ||
| dataset_id | Yes | ||
| normalized | No | e.g. RF / RF_max, or fraction of triplets correct. |