apply.constraint: Application of Constraints

View source: R/constraints_eval.R

apply.constraintR Documentation

Application of Constraints

Description

Checks whether the input values are within the specified limits.

Usage

apply.constraint(
  gc.ratio.fw,
  gc.ratio.rev,
  min.GC,
  max.GC,
  fw.idx,
  rev.idx,
  mode.directionality = c("fw", "rev", "both")
)

Arguments

gc.ratio.fw

Forward values.

gc.ratio.rev

Reverse values.

min.GC

Minimal allowed value.

max.GC

Maximal allowed value.

fw.idx

Indices of forward values to consider.

rev.idx

Indices of reverse values to consider.

mode.directionality

Direction of primers

Value

Data frame with TRUE for values fulfilling the constraints, FALSE otherwise. Also returns FALSE if a data point is not available.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.