Estimate the redox state of the plastoquinone (PQ) pool from spectral irradiance.
Usage
PQ_redox_state(
light.spct,
coefs.spct = photobiologyPlants::PS1_PS2_k.spct,
w.band = photobiologyWavebands::PAR(),
force.to.range = TRUE,
...
)
# Default S3 method
PQ_redox_state(
light.spct,
coefs.spct = photobiologyPlants::PS1_PS2_k.spct,
w.band = photobiologyWavebands::PAR(),
force.to.range = TRUE,
...
)
# S3 method for class 'source_spct'
PQ_redox_state(
light.spct,
coefs.spct = photobiologyPlants::PS1_PS2_k.spct,
w.band = photobiologyWavebands::PAR(),
force.to.range = TRUE,
return.tb = !is.null(attr2tb),
attr2tb = NULL,
...
)
# S3 method for class 'source_mspct'
PQ_redox_state(
light.spct,
coefs.spct = photobiologyPlants::PS1_PS2_k.spct,
w.band = photobiologyWavebands::PAR(),
force.to.range = TRUE,
return.tb = TRUE,
attr2tb = NULL,
idx = "spct.idx",
...,
.parallel = FALSE,
.paropts = NULL
)Arguments
- light.spct
A
source_spctobject or asource_mspctobject.- coefs.spct
A
generic_spctobject containing the coefficients of the fitted model. Defaults to those in Mattila et al. (2020).- w.band
A
wavebandobject setting the waveband used for scaling each the spectral irradiance(s) inlight.spct. Defaults to PAR as used in Mattila et al. (2020).- force.to.range
logical If
TRUE, convert negative values into zero.- ...
currently ignored.
- return.tb
logical If
TRUEforce return of a data frame for a single spectrum, to match the returned class for collections of spectra.- attr2tb
character vector, see
add_attr2tbthe syntax forattr2tbpassed as is to formal parametercol.names.- idx
character Name of the column with the names of the members of the collection of spectra.
- .parallel
if TRUE, apply function in parallel, using parallel backend provided by foreach
- .paropts
a list of additional options passed into the foreach function when parallel computation is enabled. This is important if (for example) your code relies on external data or packages: use the .export and .packages arguments to supply them so that all cluster nodes have the correct environment set up for computing.
Details
The computations follow the procedure in Mattila et al. (2020). The
spectrum in light.spct is re-expressed by interpolation to the
wavelengths from coefs.spct. As in Mattila et al. (2020) the state
is expressed as percent of the PQ pool that is reduced. If the result of
the computation is used in a publication, please, cite both Mattila et al.
(2020) and this R package.
References
Mattila H, Khorobrykh S, Hakala-Yatkin M, Havurinne V, Kuusisto I, Antal T, Tyystjärvi T, Tyystjärvi E. 2020. Action spectrum of the redox state of the plastoquinone pool defines its function in plant acclimation. The Plant Journal 104, 1088–1104. doi:10.1111/tpj.14983 .
Examples
PQ_redox_state(sun.spct) # PAR is default for scaling
#> [1] 26.17694
PQ_redox_state(sun.spct, w.band = c(370, 730)) # scaling with wavelength range
#> [1] 28.94407
PQ_redox_state(sun.spct, attr2tb = "what.measured")
#> # A tibble: 1 × 3
#> spct.idx PQ_redox.state what.measured
#> <fct> <dbl> <chr>
#> 1 spct.name 26.2 sunlight, simulated
PQ_redox_state(white_led.source_spct)
#> [1] 30.80658
PQ_redox_state(sun_evening.mspct)
#> # A tibble: 5 × 2
#> spct.idx PQ_redox.state
#> <fct> <dbl>
#> 1 time.01 26.2
#> 2 time.02 26.3
#> 3 time.03 26.1
#> 4 time.04 25.9
#> 5 time.05 25.4
PQ_redox_state(sun_evening.mspct, attr2tb = "when.measured")
#> # A tibble: 5 × 3
#> spct.idx PQ_redox.state when.measured
#> <fct> <dbl> <dttm>
#> 1 time.01 26.2 2023-06-12 18:38:00
#> 2 time.02 26.3 2023-06-12 18:39:00
#> 3 time.03 26.1 2023-06-12 18:40:00
#> 4 time.04 25.9 2023-06-12 18:41:00
#> 5 time.05 25.4 2023-06-12 18:42:00
PQ_redox_state(sun_evening.spct)
#> # A tibble: 5 × 2
#> spct.idx PQ_redox.state
#> <fct> <dbl>
#> 1 time.01 26.2
#> 2 time.02 26.3
#> 3 time.03 26.1
#> 4 time.04 25.9
#> 5 time.05 25.4
