Contents
select_01
finds booleans for occurences of members of taxon among members of taxon_src
Syntax
[sel, taxa_src] = select_01(taxon_src, taxon_sel)
Description
Finds booleans for occurences of members of taxon among members of taxon_src
Input
- taxon_src: optional character or cell string with name(s) of source taxon/taxa (default 'Animalia')
- taxon_sel: character or cell string with names of taxa that belong to source taxon
Output
- sel: n-vector with booleans
- taxa_scr: n-vector with names of members of taxon_src
Remarks
The names of members of taxon can be found by [sel nm] = select_01(taxon_src, taxon); nm(sel)
Example of use
sel = select_01('Aves'); or sel = select_01({'Aves','Mammalia'); or sel = select_01('Animalia',{'Aves','Mammalia'});
sel_fish = select_01('Vertebrata') & ~select_01('Tetrapoda'); or sel_fish = select_01({'Myxini','Cephalaspidomorphi','Chondrichthyes','Actinopterygii','Sarcopterygii'})