metacoder (version 0.1.2)

n_subtaxa_1: Get number of subtaxa

Description

Get number of subtaxa for each taxon in an object of type taxmap, not including subtaxa of subtaxa etc. This does not include subtaxa assigned to subtaxa.

Usage

n_subtaxa_1(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, n_supertaxa