check_parent_syn: Check synID of parent in manifest

View source: R/check-parent-syn.R

check_parent_synR Documentation

Check synID of parent in manifest

Description

Check that the synapse ID in the manifest matches a pattern of syn followed by numbers.

Usage

check_parent_syn(
  manifest,
  success_msg = "All Synapse IDs in the manifest are valid",
  fail_msg = "Some Synapse IDs in the manifest are invalid"
)

Arguments

manifest

The manifest as a data frame or tibbl

success_msg

Message indicating the check succeeded.

fail_msg

Message indicating the check failed.

Value

A condition object indicating whether the files are present in the path column of the manifest

Examples

manifest <- data.frame(parent = c("syn", "syn123"), stringsAsFactors = FALSE)
check_parent_syn(manifest)

Sage-Bionetworks/dccvalidator documentation built on May 7, 2022, 10:32 a.m.