knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
knitr::opts_chunk$set(echo = TRUE)
library(tidyverse)
library(ptm)

If you want to prep a submission to the UBC Herbarium you can select the PTM numbers you want to submit.

ptm_to_herbarium(c("180", "192", "31"), tempfile("test_herb.csv"))

If you want to prep a submission to the BOLD with the same ptm numbers:

ptm_to_bold(c("180", "192", "31"), tempfile("test_bold.xlsx"))

Check the resulting files; some modifications might need to be done.



martonelab/ptm documentation built on July 13, 2020, 10:36 p.m.