metacoder (version 0.1.2)

n_obs_1: Count observation assigned in taxmap

Description

Count observations assigned to a specific taxon in taxmap. This does not include observations assigned to subtaxa.

Usage

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

Arguments

obj
subset
(character) The taxon_ids or indexes in taxon_data to get counts for.

Value

numeric

See Also

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