Skip to contents

Add a header annotating Western blot lanes

Usage

wb_annot_lanes(img, annot, n_lanes = 8, text_size = 20)

Arguments

img

A magick-image

annot

A data.frame, where each row represents a lane and each column represents a variable. The first row will annotate the first lane (left to right)

n_lanes

Numeric. The number of lanes in the image

text_size

Size of text. Will be automatically downscalled if too big to fit.

Value

A magick-image