Package: cvasi 1.1.3

Nils Kehrein

cvasi: Calibration, Validation, and Simulation of TKTD Models

Eases the use of ecotoxicological effect models. Can simulate common toxicokinetic-toxicodynamic (TK/TD) models such as General Unified Threshold models of Survival (GUTS) and Lemna. It can derive effects and effect profiles (EPx) from scenarios. It supports the use of 'tidyr' workflows employing the pipe symbol. Time-consuming tasks can be parallelized.

Authors:Nils Kehrein [aut, cre], Dirk Nickisch [aut], Peter Vermeiren [aut], Torben Wittwer [ctb], Johannes Witt [ctb], Andre Gergs [ctb]

cvasi_1.1.3.tar.gz
cvasi_1.1.3.tar.gz(r-4.5-noble)cvasi_1.1.3.tar.gz(r-4.4-noble)
cvasi_1.1.3.tgz(r-4.4-emscripten)cvasi_1.1.3.tgz(r-4.3-emscripten)
cvasi.pdf |cvasi.html
cvasi/json (API)
NEWS

# Install 'cvasi' in R:
install.packages('cvasi', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cvasi-tktd/cvasi/issues

Datasets:
  • Rsubcapitata - An algae scenario
  • Schmitt2013 - A Lemna data set with multiple treatment levels
  • americamysis - A DEB abj scenario of Americamysis bahia
  • dmagna - A DEBtox Daphnia magna scenario
  • focusd1 - A Lemna_SETAC scenario with variable environment
  • metsulfuron - Lemna data published by Schmitt
  • minnow_it - A GUTS-RED-IT scenario of the fathead minnow
  • minnow_sd - A GUTS-RED-SD scenario of the fathead minnow

67 exports 0.36 score 51 dependencies 6 scripts 319 downloads

Last updated 1 months agofrom:02644262e6. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-linux-x86_64OKAug 25 2024

Exports:%>%Algae_SimpleAlgae_TKTDAlgae_Webercache_controlscalibrateCalibrationSetcalisetDEB_abjDEB_Daphniadose_responseeffectepxepx_mtwExposureSeriesfxget_modelget_model_nameget_tagGUTS_RED_ITGUTS_RED_SDimport_exposure_textimport_swashimport_toxswais_DEBis_GUTSis_GUTS_ITis_GUTS_SDis_Lemnais_LemnaThresholdis_scenarioLemna_SchmittLemna_SchmittTholdLemna_SETAClog_disablelog_enablelog_envirlog_msglog_scenariosmorseMyrioMyrio_logno_exposureparameter_setpll_debugplot_epxplot_ppcplot_scenarioplot_sdpull_metadatasequenceset_endpointsset_exposureset_forcingsset_initset_moaset_mode_of_actionset_noexposureset_paramset_tagset_timesset_transferset_windowsimulatesimulate_batchsolversurvival

Dependencies:attemptclicodetoolscolorspacecpp11deSolvedigestdplyrfansifarverfurrrfuturegenericsggplot2globalsgluegridExtragtableisobandlabelinglatticelemnalifecyclelistenvlubridatemagrittrMASSMatrixmgcvmunsellnlmeparallellypillarpkgconfigpurrrR6RColorBrewerRcpprlangscalesstringistringrtibbletidyrtidyselecttimechangeunitsutf8vctrsviridisLitewithr

Modeling Howto

Rendered fromcvasi-2-howto.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2024-05-31
Started: 2024-05-31

User Manual

Rendered fromcvasi-1-manual.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2024-07-26
Started: 2024-05-31

Readme and manuals

Help Manual

Help pageTopics
Algae model with exponential growth but without additional forcingsAlgaeSimpleScenario-class Algae_Simple
Algae model with exponential growth, forcings (P, I) and scaled damageAlgaeTKTDScenario-class Algae_TKTD
Algae model with exponential growth and forcings (I, T)AlgaeWeberScenario-class Algae_Weber
Algae modelsAlgae-class Algae-models
A DEB abj scenario of Americamysis bahiaamericamysis
Cache control simulationscache_controls
Fit model parameters to experimental datacalibrate calibrate,CalibrationSet-method calibrate,EffectScenario-method calibrate,list-method
Calibration setCalibrationSet CalibrationSet-class caliset
DEB_abjDebAbj-class DEB_abj
DEBtox DaphniaDebDaphnia-class DEB_Daphnia
Dynamic Energy Budget (DEB) modelsDEB-models DebScenario-class
A DEBtox Daphnia magna scenariodmagna
Calculate a dose response curvedose_response
Effect leveleffect
Effect profiles (EPx values)epx
Calculate EPx values for a series of moving time windowepx_mtw
Exposure time-seriesExposureSeries ExposureSeries-class
A Lemna_SETAC scenario with variable environmentfocusd1
Generic to calculate effects for a particular scenariofx fx,Algae-method fx,ANY-method fx,GutsRedIt-method fx,GutsRedSd-method fx,Lemna-method fx,Myriophyllum-method
Get model nameget_model get_model,ANY-method get_model,EffectScenario-method get_model,list-method get_model,parameter_set-method get_model_name
Get scenario tagget_tag get_tag,ANY-method get_tag,EffectScenario-method get_tag,list-method get_tag,parameter_set-method
GUTS-RED-IT scenarioGutsRedIt-class GUTS_RED_IT
GUTS-RED-SD scenarioGutsRedSd-class GUTS_RED_SD
GUTS-RED modelsGUTS-RED-models
Import exposure profiles from text filesimport_exposure_text
SWASH project exposure profile importimport_swash
Read TOXSWA exposure profiles from out-filesimport_toxswa
Test if argument is a DEB modelis_DEB
Test if argument is a GUTS modelis_GUTS is_GUTS_IT is_GUTS_SD
Test if argument is a Lemna modelis_Lemna
Test if argument is a LemnaThreshold modelis_LemnaThreshold
Test if argument is an effect scenariois_scenario
Lemna model (Schmitt et al. 2013)LemnaSchmittScenario-class Lemna_Schmitt Lemna_SchmittThold
Lemna model (Klein et al. 2021)LemnaSetacScenario-class Lemna_SETAC
Lemna modelsLemna-class Lemna-models
Start and stop logginglog_disable log_enable
Log R environment propertieslog_envir
Add a log messagelog_msg
Log scenario propertieslog_scenarios
Macrophyte modelsMacrophyte-models
Lemna data published by Schmitt (2013)metsulfuron
A GUTS-RED-IT scenario of the fathead minnowminnow_it
A GUTS-RED-SD scenario of the fathead minnowminnow_sd
Import 'morse' model parametersmorse
Myriophyllum model with exponential growthMyrio MyrioExpScenario-class
Myriophyllum model with logistic growthMyrioLogScenario-class Myrio_log
Myriophyllum modelsMyriophyllum-class Myriophyllum-models
Zero exposureno_exposure
Set of model parametersparameter_set parameter_set-class
Disable parallelization for debuggingpll_debug
Plot EPx valuesplot_epx
Creates a PPC plot for a single datasetplot_ppc
Create PPC plot for one or more datasetsplot_ppc_combi
Creates a prediction plot for one effect scenarioplot_scenario
Creates plot of model results (uncertainties optional)plot_sd
Pull metadata from scenariospull_metadata
An algae scenarioRsubcapitata
Effect scenario classesEffectScenario-class scenario Scenarios scenarios
A Lemna data set with multiple treatment levelsSchmitt2013
Sequence of scenariosScenarioSequence-class sequence
Set effect endpointsset_endpoints
Set exposure time-seriesset_exposure set_exposure,ANY,ANY-method set_exposure,EffectScenario,data.frame-method set_exposure,EffectScenario,ExposureSeries-method set_exposure,EffectScenario,list-method set_exposure,list,ANY-method set_exposure,list,list-method
Set time-dependent parametersset_forcings set_forcings,EffectScenario-method set_forcings,list-method
Set initial stateset_init set_init,EffectScenario-method set_init,vector-method
Set mode of actionset_moa set_mode_of_action
Set zero exposureset_noexposure
Set model parametersset_param set_param,EffectScenario,parameter_set-method set_param,EffectScenario,vector-method set_param,list,parameter_set-method set_param,list,vector-method set_param,ScenarioSequence,parameter_set-method set_param,ScenarioSequence,vector-method
Set a tagset_tag
Set output timesset_times
Set transfer eventsset_transfer set_transfer,ANY-method set_transfer,Transferable-method
Set window lengthset_window
Simulate an effect scenariosimulate simulate,EffectScenario-method simulate,ScenarioSequence-method simulate,Transferable-method
Batch simulation of several effect scenariossimulate_batch
Calls ODE solver for a particular modelsolver solver,AlgaeSimpleScenario-method solver,AlgaeTKTDScenario-method solver,AlgaeWeberScenario-method solver,ANY-method solver,DebAbj-method solver,DebDaphnia-method solver,GutsRedIt-method solver,GutsRedSd-method solver,LemnaSchmittScenario-method solver,LemnaSetacScenario-method solver,MyrioExpScenario-method solver,MyrioLogScenario-method
Survival ratesurvival
Biomass transfer classBiomass-transfer Transferable Transferable-class