# Get Aptamer table
anno_tbl <- getAnalyteInfo(example_data)
anno_tbl
# Use `dplyr::group_by()`
dplyr::tally(dplyr::group_by(anno_tbl, Dilution)) # print summary by dilution
# Columns containing "Target"
anno_tbl |>
dplyr::select(dplyr::contains("Target"))
# Rows of "Target" starting with MMP
anno_tbl |>
dplyr::filter(grepl("^MMP", Target))
# Target names
tg <- getTargetNames(anno_tbl)
# how to use for plotting
feats <- sample(anno_tbl$AptName, 6)
op <- par(mfrow = c(2, 3))
sapply(feats, function(.x) plot(1:10, main = tg[[.x]]))
par(op)
Run the code above in your browser using DataLab