Learn R Programming

ribiosUtils (version 1.7.7)

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

Description

Tell whether a character string is a Roche compound ID

Usage

isRocheCompoundID(str)

Value

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

Arguments

str

Character string(s)

Examples

Run this code
isRocheCompoundID(c("RO1234567", "RO-1234567", 
                   "RO1234567-000", "RO1234567-000-000",
                   "ROnoise-000-000"))

Run the code above in your browser using DataLab