isRocheCompoundID: Tell whether a character string is a Roche compound ID

Description Usage Arguments Value Examples

View source: R/rocheCompound.R

Description

Tell whether a character string is a Roche compound ID

Usage

1

Arguments

str

Character string(s)

Value

A logical vector of the same length as str, indicating whether each element is a Roche compound ID or not.

Short versions (RO[1-9]2,7) are supported.

Examples

1
2
3
isRocheCompoundID(c("RO1234567", "RO-1234567", 
                   "RO1234567-000", "RO1234567-000-000",
                   "ROnoise-000-000"))

ribiosUtils documentation built on March 13, 2020, 2:54 a.m.