select_predict
gets list of species that belongs to a taxon and has a specified string in its predict-file
Contents
Syntax
[species, nm, sel] = select_predict (varargin)
Description
gets all species in the add_my_pet collection with predict files that contain a character string.
Input:
- taxon: optional character string with name of taxon or cell string with names of species (default: 'Animalia')
- str: character string
- info: optional boolean to search locally if true (only for curators)
Output:
- cell string with all species in the add_my_pet collection that belong to that taxon and have a predict-file that contains str
- nm string with names of entries that were subjected to selection
- sel vector of bouleans, which entries are selected or not
Remarks
This function can take a few minutes if 'Animalia' is specified (so all entries are searched), since all predict-files are read from the web
Example of use
nm = select_predict('get_tx_old')