LEEF_2_plot_density_species_per_bottle_per_timestamp: Plot diagnostic plot to check number of species per timestamp...

View source: R/LEEF_2_plot_density_species_per_bottle.R

LEEF_2_plot_density_species_per_bottle_per_timestampR Documentation

Plot diagnostic plot to check number of species per timestamp for LEEF-2

Description

Plot diagnostic plot to check number of species per timestamp for LEEF-2

Usage

LEEF_2_plot_density_species_per_bottle_per_timestamp(
  db = getOption("RRDdb", "LEEF.RRD.sqlite"),
  transform_density_4throot = TRUE,
  measurement = "bemovi_mag_16",
  species_set_id = NULL,
  treatment_begin_day = 70,
  treatment_end_day = 154,
  arrow = FALSE
)

Arguments

db

fully qualified path to the sqlite database. Default, read from option RRDdb. If not set, defaults to option RRDdb; if this is not set, defaults to LEEF.RRD.sqlite

transform_density_4throot

if TRUE, density is transformed using 4th root transformation.

measurement

the measurement to be plotted. If NULL, the default, they are plotted by temperature treatment (constant & increasing)

species_set_id

id of species set to use for filtering

treatment_begin_day

begin of treatment (vertical red line in plot). If NULL none is plotted.

treatment_end_day

end of treatment (vertical red line in plot). If NULL none is plotted.

arrow

if TRUE read data from arrow instead of sqlite database

Value

ggplot object of the plot


LEEF-UZH/LEEF.analysis documentation built on Feb. 8, 2025, 11:18 a.m.