select
gets list of species that belongs to a taxon
Contents
Syntax
Species = select (taxon)
Description
gets all species in the add_my_pet collection that belong to a particular taxon or taxa.
Input:
- taxon: optional character string or cell string with name{s} of taxon (default: 'Animalia')
Output:
- cell string with all species in the add_my_pet collection that belong to that taxon/taxa
Remarks
The root is Animalia. If chosen as taxon, an ordered list of all species in the collection results. The classification follows that of Wikipedia. See also select_01
Example of use
species = select('Animalia'); % get list of all species in the collection, taxonomically ordered species = select({'Daphnia','Canis_lupus'}); % get all species of Daphnia and Canis_lupus. fish = setdiff(select('Vertebrata'), select('Tetrapoda')) % select all 5 fish classes, alphabetically ordered reptile = setdiff(select('Sauropsida'), select('Maniraptora')) % select all classic reptilia, alphabetically ordered