Package: cvasi 1.3.1

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.3.1.tar.gz
cvasi_1.3.1.tar.gz(r-4.5-noble)cvasi_1.3.1.tar.gz(r-4.4-noble)
cvasi_1.3.1.tgz(r-4.4-emscripten)cvasi_1.3.1.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 scenario of Daphnia magna
  • 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

3.78 score 12 scripts 245 downloads 74 exports 58 dependencies

Last updated 3 days agofrom:0fa83b2f96. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64OKNov 25 2024

Exports:%>%Algae_SimpleAlgae_TKTDAlgae_Webercache_controlscalibrateCalibrationSetcalisetDEB_abjDEB_DaphniaDEBtoxdose_responseeffectepxepx_mtwexplore_spaceExposureSeriesfxget_modelget_model_nameget_tagGUTS_RED_ITGUTS_RED_SDimport_morseimport_swashimport_toxswais_DEBis_GUTSis_GUTS_ITis_GUTS_SDis_Lemnais_LemnaThresholdis_scenarioLemna_SchmittLemna_SchmittTholdLemna_SETAClik_profilelog_disablelog_enablelog_envirlog_liklog_msglog_scenariosmorseMyrioMyrio_logno_exposureparameter_setpll_debugplot_epxplot_lik_profileplot_param_spaceplot_ppcplot_scenarioplot_sdpull_metadatasequenceset_boundsset_endpointsset_exposureset_forcingsset_initset_moaset_mode_of_actionset_noexposureset_paramset_tagset_timesset_transferset_windowsimulatesimulate_batchsolversurvival

Dependencies:clicodetoolscolorspacecpp11crayondeSolvedigestdplyrfansifarverforcatsfurrrfuturegenericsGGallyggplot2ggstatsglobalsgluegridExtragtablehmsisobandlabelinglatticelifecyclelistenvlubridatemagrittrMASSMatrixmgcvmunsellnlmeparallellypatchworkpillarpkgconfigplyrprettyunitsprogresspurrrR6RColorBrewerRcpprlangscalesstringistringrtibbletidyrtidyselecttimechangeunitsutf8vctrsviridisLitewithr

Modeling Howto

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

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

User Manual

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

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

Readme and manuals

Help Manual

Help pageTopics
Algae model with exponential growth but without additional forcingsAlgaeSimple-class AlgaeSimpleScenario-class Algae_Simple
Algae model with exponential growth, forcings (P, I) and scaled damageAlgaeTKTD-class AlgaeTKTDScenario-class Algae_TKTD
Algae model with exponential growth and forcings (I, T)AlgaeWeber-class 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
Dynamic Energy Budget (DEB) modelsDeb-class DEB-models
DEBtox modelDebDaphnia-class DEBtox DebTox-class DEBtox2019 DEB_Daphnia
A DEBtox scenario of Daphnia magnadmagna
Calculate a dose response curvedose_response
Effect leveleffect
Effect profiles (EPx values)epx
Calculate EPx values for a series of moving time windowepx_mtw
Explore parameter spaceexplore_space
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,ParameterSet-method get_model_name
Get scenario tagget_tag get_tag,ANY-method get_tag,EffectScenario-method get_tag,list-method get_tag,ParameterSet-method
GUTS-RED-IT scenarioGutsRedIt-class GUTS_RED_IT
GUTS-RED-SD scenarioGutsRedSd-class GUTS_RED_SD
GUTS-RED modelsGUTS-RED-models
Import 'morse' model parametersimport_morse morse
SWASH project exposure profile importimport_swash
Import _TOXSWA_ exposure seriesimport_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)LemnaSchmitt-class LemnaSchmittScenario-class Lemna_Schmitt Lemna_SchmittThold
Lemna model (Klein et al. 2021)LemnaSetac-class LemnaSetacScenario-class Lemna_SETAC
Lemna modelsLemna-class Lemna-models
Likelihood profilinglik_profile
Start and stop logginglog_disable log_enable
Log R environment propertieslog_envir
Calculate log likelihoodlog_lik
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
Myriophyllum model with exponential growthMyrio MyrioExp-class MyrioExpScenario-class
Myriophyllum model with logistic growthMyrioLog-class MyrioLogScenario-class Myrio_log
Myriophyllum modelsMyriophyllum-class Myriophyllum-models
Zero exposureno_exposure
Set of model parametersParameterSet-class parameter_set parameter_set-class
Disable parallelization for debuggingpll_debug
S3 plotting functionsplot plot.cvasi.drc plot.cvasi.simulate
Plot EPx valuesplot_epx
Plot likelihood profiles or all profiled parametersplot_lik_profile
Plot likelihood profiles or all profiled parametersplot_param_space
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 boundaries of model parametersset_bounds set_bounds,CalibrationSet,list-method set_bounds,EffectScenario,list-method set_bounds,list,list-method
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,ParameterSet-method set_param,EffectScenario,vector-method set_param,list,ParameterSet-method set_param,list,vector-method set_param,ScenarioSequence,ParameterSet-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 using multiple exposure seriessimulate_batch
Calls ODE solver for a particular modelsolver solver,AlgaeSimple-method solver,AlgaeTKTD-method solver,AlgaeWeber-method solver,ANY-method solver,DebAbj-method solver,DebDaphnia-method solver,DebTox-method solver,GutsRedIt-method solver,GutsRedSd-method solver,LemnaSchmitt-method solver,LemnaSetac-method solver,MyrioExp-method solver,MyrioLog-method
Survival ratesurvival
Biomass transfer classBiomass-transfer Transferable Transferable-class