Skip to contents

The package forcis provides functions to homogenize FORCIS data and compute abundances, concentrations, and frequencies of foraminifera counts. This vignette shows how to use these functions.

Count formats within FORCIS

The FORCIS database includes counts of foraminifera species collected with multiple devices. These counts are reported in different formats:

  • Raw abundance: number of specimens counted within a sampling unit.
  • Number concentration: number of specimens per cubic meter.
  • Relative abundance: percentage of specimens relative to the total counted
  • Fluxes: number of specimens per square meter per day.
  • Binned counts: Number of specimens categorized into a specific range (minimum and maximum) within a sampling unit.

Conversion Functions

The functions detailed in this vignette allow to convert counts between the following formats Raw abundance, Relative abundance and Number concentration.

NOTE: FORCIS data from Sediment traps and the CPR North are not supported by these functions.

Usage

The vignette will use the PUMP data of the FORCIS database. Let’s import the latest release of the data as described in the Get started vignette.

# Import pump data 
 pump_data <- read_pump_data(path = "data")

After obtaining the data, the initial step involves choosing the taxonomic level for our analyses, (the different taxonomic levels are described in the original FORCIS database paper ). This selection is made using the select_taxonomy() function.

# Select taxonomy
OT_pump_data <- select_taxonomy(pump_data,'OT')

Once the data contains counts from the same taxonomic level for all the samples we can proceed with the conversion functions.

compute_abundances()

This function converts all counts into raw abundances, using sampling metadata such as sample volume and total assemblage counts. It calculates the raw abundance for each species whose counts are reported as either relative abundance or number concentrations.

# Convert species counts in raw abundance
OT_pump_data_raw_ab=compute_abundances(OT_pump_data,aggregate = TRUE)

compute_concentrations()

This function transforms all counts into number concentration abundances. It also leverages sampling metadata such as sample volume and total assemblage counts to compute the number concentration for each species.

# Convert species counts in number concentration
OT_pump_data_n_conc=compute_concentrations(OT_pump_data,aggregate = TRUE)

compute_frequencies()

This function computes relative abundance for each species using total assemblage counts when available.

# Convert species counts in relative abundance 
OT_pump_data_rel_ab=compute_frequencies(OT_pump_data,aggregate = TRUE)

The functions accept two arguments: the input data and the aggregate argument. If aggregate is set to TRUE, the function will return the transformed counts of each species using the sample as the unit. If FALSE, it will re-calculate the species’ abundance by subsample.

The functions output a table (long-format) as well as a message reporting the amount of data that could not be converted because of missing metadata.