vascr_plot_line: Plot a line graph with vascr

View source: R/vascr_graphics.R

vascr_plot_lineR Documentation

Plot a line graph with vascr

Description

Plot a line graph with vascr

Usage

vascr_plot_line(
  data.df,
  errorbars = Inf,
  alpha = 0.3,
  text_labels = TRUE,
  facet_expt = TRUE
)

Arguments

data.df

The vascr data set to plot

errorbars

Type of error bars, Inf for ribbons, 0 for no errors and any integer to plot every nth line

alpha

Transparency of the error ribbon plotted

text_labels

Show or hide well labels

facet_expt

Facet out different experiments, defaults to TRUE

Value

a ggplot containing the data

Examples

vascr_plot_line(data.df = growth.df %>% vascr_subset(unit = "Rb"))
vascr_plot_line(growth.df %>% vascr_subset(unit = "Rb") %>% vascr_summarise(level = "experiments"))
data.df = growth.df %>% vascr_subset(unit = "Rb") %>% vascr_summarise(level = "summary")
vascr_plot_line(data.df, text_labels = FALSE)

vascr_plot_line(data.df = growth.df %>% vascr_subset(unit = "R", frequency = 4000), facet = FALSE)


JamesHucklesby/vascr documentation built on April 3, 2025, 2:23 p.m.