View source: R/old_code/bluehill_functions.2.R View source: R/old_code/bluehill_functions.1.R View source: R/bluehill_functions.R
bh_label_samples | R Documentation |
Copies the blank_row
and Specimen Label
parts from a data.table
of specimen headers
and adds them to a data.table
of samples. Will give NA if either (but not both) headers are missing.
It's probably better to do this explicitly in the main code, but using specimen_labels
which returns .(blank, label) as that is more readable than .(V1, V2).
bh_label_samples(samples, headers)
samples |
A |
headers |
A |
samples
with added columns for blank_row
and label
for each specimen.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.