README.md

streamlineR

A package with a variety of functions made to streamline personal habits in R.

Installation

Package is installed using the devtools package:

if (!require("devtools", quietly = TRUE))
    install.packages("devtools")

devtools::install_github("jrijn/streamlineR")

Publish-ready theme

The function "publish" is a customized ggplot theme based on the "ggpubr" package. It also includes colorblind-safe color palettes, and is very easy to use:

ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
geom_point() +
scale_color_manual(values = colorBlindGrey8) +
publish()

Plotting chromatograms

To use the chromatogram functions, the package rawrr needs to be installed first:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("rawrr")

if (isFALSE(rawrr::.checkDllInMonoPath())){
  rawrr::installRawFileReaderDLLs()
}

rawrr::installRawrrExe()

After installing rawrr, plotting Orbitrap chromatograms is super easy:

rawfile <- "C:/myfile.raw"
lc <- importChromatograms(rawfile)
plotChromatograms(lc)


jrijn/streamlineR documentation built on July 4, 2025, 12:09 p.m.