diat_morpho {diathor}R Documentation

Calculate morphological parameters for diatoms

Description

The input for these functions is the resulting dataframe obtained from the diat_loadData() function to calculate morphological parameters The morphological data (size classes, chlorophlasts) is obtained from the 'Diat.Barcode' project. Besides citing DiaThor, the Diat.Barcode project should also be cited if the package is used, as follows:

Sample data in the examples is taken from:

Usage

diat_morpho(resultLoad, isRelAb = FALSE)

Arguments

resultLoad

The resulting list obtained from the diat_loadData() function

isRelAb

Boolean. If set to 'TRUE' it means that your species' data is the relative abundance of each species per site. If FALSE, it means that it the data corresponds to absolute densities. Default = FALSE

Examples


# Example using sample data included in the package (sampleData):
data("diat_sampleData")
# First, the diat_loadData() function has to be called to read the data
# The data will be stored into a list (loadedData)
# And an output folder will be selected through a dialog box if resultsPath is empty
# In the example, a temporary directory will be used in resultsPath
df <- diat_loadData(diat_sampleData, resultsPath = tempdir())
morphoResults <- diat_morpho(df)


[Package diathor version 0.1.0 Index]