Published February 28, 2024 | Version v1
Software Open

funspace: an R package to build, analyze and plot functional trait spaces

  • 1. University of Tartu
  • 2. Estonian University of Life Sciences
  • 3. University of Seville

Description

Functional trait space analyses are pivotal to describe and compare organisms' functional diversity across the tree of life. Yet, there is no single application that streamlines the many sometimes-troublesome steps needed to build and analyze functional trait spaces.

To fill this gap, we propose funspace, an R package to easily handle bivariate and multivariate (PCA-based) functional trait space analyses. The six functions that constitute the package can be grouped in three modules: 'Building and exploring', 'Mapping', and 'Plotting'. The building and exploring module defines the main features of a functional trait space (e.g., functional diversity metrics) by leveraging kernel density-based methods. The mapping module uses general additive models to map how a target variable distributes within a trait space. The plotting module provides many options for creating flexible and high-quality figures representing the outputs obtained from previous modules. We provide a worked example to demonstrate a complete funspace workflow.

funspace will provide researchers working with functional traits across the tree of life with an indispensable asset to easily explore: (i) the main features of any functional trait space, (ii) the relationship between a functional trait space and any other biological or non-biological factor that might contribute to shaping species' functional diversity.

Notes

Funding provided by: MCIN/AEI /10.13039/501100011033*
Crossref Funder Registry ID:
Award Number: IJC2020-043331-I

Funding provided by: MCIN/AEI/ 10.13039/501100011033 and by FEDER "ESF Investing in your future"*
Crossref Funder Registry ID:
Award Number: PID2021-122214NA-I00

Funding provided by: Estonian Research Council
Crossref Funder Registry ID: https://ror.org/00jjeja18
Award Number: PSG293

Funding provided by: European Regional Development Fund
Crossref Funder Registry ID: http://dx.doi.org/10.13039/501100008530
Award Number: MOBERC40

Files

Files (1.3 MB)

Name Size Download all
md5:848c0d98ad27d3a53b6872f6cc428213
1.3 MB Download

Additional details

Related works

Is source of
10.5061/dryad.4tmpg4fg6 (DOI)