Skip to content

Cheatsheets

A cheatsheet answers one question fast: what was the call again? The guides teach a method from the start. These pages assume you already know what you want to do and only need the syntax, with an example small enough to read at a glance.

Every example uses a bioinformatics shape of data, such as a gene table, a count matrix, a BED file, or a PBMC dataset. The R and Python examples, and the awk, grep, and sed examples, run in one pinned container in the companion code repository. Each output block on a page is the text that run printed, and each figure is the file it wrote.

Page What it covers
grep, find & pipes searching files and chaining commands
awk one-liners for FASTA, FASTQ, VCF, BED, and tables
sed substitution and line editing in streams and files
tmux sessions, windows, and panes that survive a dropped connection
SSH, scp & rsync keys, host aliases, and file transfer
conda & mamba environments, channels, and exports
SLURM batch scripts, job arrays, and queue commands

The tmux, SSH, conda, and SLURM pages need an interactive terminal, a remote host, a package index, or a scheduler. The container does not run them, and each one says so at the top.

Page What it covers
tibble & readr building tables and reading delimited files
dplyr filter, select, mutate, summarise, and joins
tidyr reshaping between wide and long
stringr pattern matching on gene names and identifiers
forcats factor levels and their order in plots
purrr mapping a function over lists and columns
ggplot2 the grammar of graphics
ggpubr publication plots with test annotations
ggstatsplot plots that print their statistics
ComplexHeatmap annotated and split heatmaps
rstatix statistical tests that return tables for a pipe
DESeq2 differential expression on count data
limma linear models for expression data
Seurat the single-cell workflow in R
Page What it covers
NumPy arrays, broadcasting, and random numbers
pandas DataFrame selection, grouping, and reshaping
Polars expressions, lazy queries, and joins
Matplotlib figures, axes, and the common plot types
seaborn statistical plots from tidy data
Plotly interactive figures and static export
SciPy statistical tests and distributions
statsmodels regression models and their summaries
scikit-learn preprocessing, models, and validation
XGBoost gradient boosted trees
LightGBM gradient boosting on large tables
Scanpy the single-cell workflow in Python

A cheatsheet does not explain why a method fits your data. For that, start with the guide that teaches the method. The RNA-seq and single-cell sections cover DESeq2, limma, and Scanpy in depth, and Programming with Python covers pandas, Polars, and NumPy from the beginning.