GetSpeciesTraits

Retrieve taxonomic info and some traits of a species from WoRMS (World Register of Marine Species)
21 Downloads
Updated 20 Nov 2018

View License

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.

Cite As

Francisco de Castro (2024). GetSpeciesTraits (https://www.mathworks.com/matlabcentral/fileexchange/69481-getspeciestraits), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0