GetSpeciesTraits
GETSPECIESTRAITS Taxonomy and traits from WoRMS database.
Data= GetSpeciesTraits(X,varargin)
Ths function uses WoRMS to get taxonomic info and some traits about
a list of species. By default it returns only taxonomic info: AphiaID,
Kingdom, Phylum, Class, Order, Family, Genus, Status and Valid Name.
To return mean length, mean mass, functional group or feeding type use
any combination of:
GetSpeciesTraits(X,'taxo',TRUE)
GetSpeciesTraits(X,'leng',TRUE)
GetSpeciesTraits(X,'mass',TRUE)
GetSpeciesTraits(X,'func',TRUE)
GetSpeciesTraits(X,'feed',TRUE)
By defult all are FALSE except 'taxo'.
To supress output to the command window use:
GetSpeciesTraits(X,'verbose',FALSE) default: true.
Input argument X must be a string or a 1-column cell array or table.
Only the 1st column will be used.
Returns a table 'Data' with species names in column 1 and taxonomy and
requested traits in following columns. Length will be in cm and mass in
grams.
Citation pour cette source
Francisco de Castro (2024). GetSpeciesTraits (https://www.mathworks.com/matlabcentral/fileexchange/69481-getspeciestraits), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |