dot-verifySimpleConditions: Verify matches to regular expressions

Description Usage Arguments Value Examples

Description

A wrapper around grepl function (with default settings) performing an OR operation for matches of all the elements of the regexpr_vector elements (i.e. matching to one element is sufficient for the value to be set to TRUE for that position)

Usage

1
.verifySimpleConditions(regexpr_vector, x)

Arguments

regexpr_vector

Vector with regular expressions (to be used by grepl)

x

Character string to be checked for matches to regular expressions

Value

A logical vector with TRUE at positions where there was a match to at least one of the reqular expressions (OR operation)

Examples

1
# .verifySimpleConditions("^m$", c("m", "mm", "cm", "M"))

ss-lab-cancerunit/SpiderSeqR documentation built on Nov. 2, 2020, 12:18 a.m.