vpr_autoid_create.Rd
Modifies aid and aid mea files based on manual reclassification
vpr_autoid_create(
reclassify,
misclassified,
basepath,
day,
hour,
mea = TRUE,
categories
)
list of reclassify files (output from vpr_manual_classification())
list misclassify files (output from vpr_manual_classification())
path to folder containing autoid files (e.g., 'extdata/COR2019002/autoid')
day identifier for relevant aid & aidmeas files
hour identifier for relevant aid & aidmeas files
logical indicating whether or not there are accompanying measurement files to be created
A list object with all the potential classification categories
if (FALSE) { # \dontrun{
basepath <- 'E:/autoID_EC_07032019/'
day <- '289'
hr <- '08'
categories <-
c("bad_image_blurry", "bad_image_malfunction", "bad_image_strobe", "Calanus", "chaetognaths",
"ctenophores", "krill", "marine_snow", "Other", "small_copepod", "stick")
day_hour_files <- paste0('d', day, '.h', hr)
misclassified <- list.files(day_hour_files, pattern = 'misclassified_', full.names = TRUE)
reclassify <- list.files(day_hour_files, pattern = 'reclassify_', full.names = TRUE)
vpr_autoid_create(reclassify, misclassified, basepath, categories)
} # }