An introduction to the R package for pipeline development
Author
Hugo Åkerstrand
Published
February 11, 2026
Lifting data handling and analysis into pipelines is an important step towards reproducible, automated, and robust workflows. In this blog post, I outline how researchers can use the R package targets to set up such a pipeline.
We will also use my own R package flod to generate some synthetic flow cytometry data and the tidyverse suite for general data wrangling and plotting.
library(flod)
NB! `flod` is under heavy development and subject to sweeping changes
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors