Supplement 1. Fuzzy coded affinities of each taxon to the number of generations per year, body form, and degree of sclerotisation, R functions for estimating functional measures using fuzzy coded trait data and R script for studying the effect of stressors on functional measures.
收藏NIAID Data Ecosystem2026-03-09 收录
下载链接:
https://figshare.com/articles/dataset/Supplement_1_Fuzzy_coded_affinities_of_each_taxon_to_the_number_of_generations_per_year_body_form_and_degree_of_sclerotisation_R_functions_for_estimating_functional_measures_using_fuzzy_coded_trait_data_and_R_script_for_studying_the_effect_of_stressors_on/3562989
下载链接
链接失效反馈官方服务:
资源简介:
File List
All_files.zip (MD5: 12a8ece890d711d13148e464ed4565fe)
Fuzzy_code_traits.txt (MD5: d6a6faa36a1d0441d2af793551123646)
Fuzzy_Functions.R (MD5: 97ebdc4e37a8f42bc069f12fc440ab3d)
Script.R (MD5: 9cbe775d3056d0415b54891f7ccdc56c)
Description
All_files.zip Compressed file containing Fuzzy_code_traits.txt, Fuzzy_functions.R and Script.R
Fuzzy_code_traits.txt is a tab-separated file containing fuzzy code trait information for body form and degree of sclerotization of stream insect genera. Fuzzy values for each genera and trait category go from 0 (no affinity) to 3 (maximum affinity). Column definitions are:
1. Taxon: the 212 genus names
2-6 The trait categories for body form and degree of sclerotization. Column label meaning:
Body_Form_Flattened: Affinity for flattened body form
Body_Form_Cylindrical: Affinity for cylindrical body form
Body_Form_Elongated: Affinity for elongated body form
Sclerotization_Slightly: Affinity for slightly sclerotization degree
Sclerotization_Partially: Affinity for partially sclerotization degree
Sclerotization_Fully: Affinity for fully sclerotization degree
Fuzzy_functions.R is a file containing R functions for estimating taxon and community-level functional measures from fuzzy code trait data
Input variables:
ATTENTION: check that trait, taxonomic and stressor matrices have the row and column names ordered in the same way
traits: matrix of traits. Must be fuzzy coded or percentages of affinity for each trait category (taxa × trait categories)
taxa: taxonomic matrix of count or presence / absence data (sites × taxa)
col.blocks: vector containing the number of categories of each trait. Names are the trait names.
funcNiche() and funcNiche.pca() are the two functions that estimate the taxon and community functional properties. This file contains further information about the intermediate functions used to estimate each metric.
Input variables to run funcNiche() and funcNiche.pca()
rdt: number of randomizations to generate the taxon niche space
m: number of axes
Output functional variables:
fpc: functional space (functional principal components)
tfric.data: area and axis centroid of each taxon in the functional space
overlap.mat: triangular matrix of niche overlap between taxon pairs
tFRic: mean taxon functional richness for each community
FSim: mean functional similarity between taxon pairs
FDis: functional dispersion of each community
FRic: functional richness of each community
Script.R is a file containing the R code necessary to run the analyses performed in this study. This file is provided just an example of how to estimate and analyse the functional features along environmental gradients. It can be easily adapted to other data if input matrices are appropriate (see Fuzzy_functions.R description). In case of using this file, besides taxonomic and trait data, it should be provided the environmental data. The data set should be in the working directory of R when running this code.
The data sets 'taxa_sal.txt', 'taxa_lu.txt', 'env_sal.txt', 'env_lu.txt', 'traits_sal.txt' and 'traits_lu.txt' are not available for release at the moment.
创建时间:
2016-08-10



