subtree_haplogroups
Get a haplogroup subtree. Defaults to 6 levels (matches the site); small branches (root endcounts<=600) fully expand; max_depth overrides. Truncated boundary nodes carry has_children. 取子树:默认 6 层,小支(endcounts<=600)全展开,可传 max_depth;截断边界带 has_children。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subtree root name/hid / 子树根节点名称/hid | |
| max_depth | No | Max levels relative to root (optional). Default 6; unlimited if root endcounts<=600 / 相对根最大层数(可选),默认6 |