list_taxa
gets ordered list of all taxa
Contents
Syntax
ol = list_taxa (taxon, level)
Description
gets an alphabetically ordered list of all taxa that belong to taxon in the add_my_pet collection
Input:
- taxon: optional characterstring with name of taxon (default 'Animalia')
- level: optional integer for the level (default: 0)
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:
- cell string with alphabetically ordered list
Remarks
The classification follows that of Wikipedia
Example of use
- ol = list_taxa
- ol = list_taxa('Deuterostomata',4)
- ol = list_taxa({},7)
- ol = list_taxa('Arthropoda')