eval.constraints: Evaluation of Constraints'

View source: R/constraints_eval.R

eval.constraintsR Documentation

Evaluation of Constraints'

Description

Evaluates whether the given primer data frame fulfills the required conditions.

Usage

eval.constraints(
  constraint.df,
  constraint.settings,
  active.constraints,
  mode.directionality = c("fw", "rev", "both"),
  primer.df
)

Arguments

constraint.df

Primer data frame with computed constraints.

constraint.settings

List with allowed values pers constraint.

active.constraints

Names of constraints to be evaluated.

mode.directionality

Directionality of primers

primer.df

Primer data frame corresponding to constraint.df.

Details

Constraint values should be contained in constraint.df. For each constraint in active.constraints, a boolean column with the name EVAL_<constraint_name> is generated, which indicates whether a primer in a given rows fulfills a constraint or not.

Value

Augments the constraint.df data frame with evaluation columns.


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