metacoder (version 0.1.2)

n_subtaxa: Get number of subtaxa

Description

Get number of subtaxa for each taxon in an object of type taxmap

Usage

n_subtaxa(obj, subset = 1:nrow(obj$taxon_data))

Arguments

obj
subset
(character) The taxon_ids or indexes in taxon_data.

Value

numeric

See Also

Other taxon_funcs: hierarchies, n_obs_1, n_obs, n_subtaxa_1, n_supertaxa