Learn R Programming

pam (version 2.0.0)

read_dual_pam_data: Read and Process DualPAM Data

Description

Reads raw CSV files generated by DualPAM software, calculates electron transport rate (ETR) values, and returns a universal dataset.

Usage

read_dual_pam_data(
  csv_path,
  remove_recovery = TRUE,
  etr_factor = 0.84,
  fraction_photosystem_I = 0.5,
  fraction_photosystem_II = 0.5
)

Value

A data.table containing:

  • par: Photosynthetically active radiation.

  • yield_1: Yield for photosystem I.

  • yield_2: Yield for photosystem II.

  • etr_1: Calculated ETR for photosystem I.

  • etr_2: Calculated ETR for photosystem II.

Arguments

csv_path

File path to the CSV file.

remove_recovery

Logical. Removes recovery measurements if TRUE. Default is TRUE.

etr_factor

Numeric. Factor for ETR calculation. Default is 0.84.

fraction_photosystem_I

Numeric. Relative distribution of absorbed PAR to photosystem I. Default is 0.5.

fraction_photosystem_II

Numeric. Relative distribution of absorbed PAR to photosystem II. Default is 0.5.

Details

Calculates ETR using: $$\text{ETR} = \text{PAR} \cdot \text{ETR-Factor} \cdot \text{Fraction of Photosystem (I or II)} \cdot \text{Yield (I or II)}$$

A detailed documentation can be found under https://github.com/biotoolbox/pam?tab=readme-ov-file#read_dual_pam_data

References

Heinz Walz GmbH. (2024). DUAL-PAM-100 DUAL-PAM/F MANUAL, 5th Edition, April 2024, Chapter 7 (pp. 162-172). Heinz Walz GmbH, Effeltrich, Germany. Available at: https://www.walz.com/files/downloads/dualpamed05.pdf

Examples

Run this code
path <- file.path(system.file("extdata", package = "pam"), "20240925.csv")
data <- read_dual_pam_data(path)

Run the code above in your browser using DataLab