updated docs + boxplot

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-03-19 13:10:56 +01:00
commit 111393c73f
No known key found for this signature in database
23 changed files with 908 additions and 306 deletions

17
man/allign_axes.Rd Normal file
View file

@ -0,0 +1,17 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_plots.R
\name{allign_axes}
\alias{allign_axes}
\title{Alligns axes between plots}
\usage{
allign_axes(...)
}
\arguments{
\item{...}{ggplot2 objects or list of ggplot2 objects}
}
\value{
list of ggplot2 objects
}
\description{
Alligns axes between plots
}

27
man/limit_log.Rd Normal file
View file

@ -0,0 +1,27 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regression_plot.R
\name{limit_log}
\alias{limit_log}
\title{Easily round log scale limits for nice plots}
\usage{
limit_log(data, fun, ...)
}
\arguments{
\item{data}{data}
\item{fun}{rounding function (floor/ceiling)}
\item{...}{ignored}
}
\value{
numeric vector
}
\description{
Easily round log scale limits for nice plots
}
\examples{
limit_log(-.1,floor)
limit_log(.1,ceiling)
limit_log(-2.1,ceiling)
limit_log(2.1,ceiling)
}

View file

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regression_plot.R
\name{symmetrical_scale_x_log10}
\alias{symmetrical_scale_x_log10}
\title{Ensure symmetrical plot around 1 on a logarithmic x scale for ratio plots}
\usage{
symmetrical_scale_x_log10(plot, breaks = c(1, 2, 3, 5, 10), ...)
}
\arguments{
\item{plot}{ggplot2 plot}
\item{breaks}{breaks used and mirrored}
\item{...}{ignored}
}
\value{
ggplot2 object
}
\description{
Ensure symmetrical plot around 1 on a logarithmic x scale for ratio plots
}

19
man/wrap_plot_list.Rd Normal file
View file

@ -0,0 +1,19 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_plots.R
\name{wrap_plot_list}
\alias{wrap_plot_list}
\title{Wrapping}
\usage{
wrap_plot_list(data, tag_levels = NULL)
}
\arguments{
\item{data}{list of ggplot2 objects}
\item{tag_levels}{passed to patchwork::plot_annotation if given. Default is NULL}
}
\value{
list of ggplot2 objects
}
\description{
Wrapping
}