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.
引用格式
Francisco de Castro (2024). GetSpeciesTraits (https://www.mathworks.com/matlabcentral/fileexchange/69481-getspeciestraits), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |