list_taxa

gets ordered list of all taxa and optionally count AmP members

Contents

Syntax

[ol, n_c] = list_taxa (taxon, level, count)

Description

gets an alphabetically ordered list of all taxa that belong to taxon in the add_my_pet collection. if count is specified, the order is by number of AmP members of the taxa

Input:

  0 all taxa, including leaves
  1 all taxa, excluding leaves
  2 leaves (names with "_")
  3 genera only (names before first "_")
  4 families only (names ending on "idae")
  5 orders only (match with allStat.mat)
  6 classes only (match with allStat.mat, but does not work for Reptilia)
  7 phyla only (match with allStat.mat)

Output:

Remarks

The classification follows that of Wikipedia

Example of use