getChildren: get all chilrden of a node

Description Usage Arguments

View source: R/taxonomy.R

Description

Returns edge table of all descendents. Performs a depth-first search thus returns ordered edges (order "cladewise" in package ape).

Usage

1
getChildren(id, tax, names = FALSE)

Arguments

id

a single taxon ID

tax

NCBI taxonomy object

names

return taxon names instead of ids


raim/ncbitax documentation built on Nov. 5, 2019, 2:08 a.m.