update.cvg.data: Update Coverage Information.

View source: R/con_primer_coverage.R

update.cvg.dataR Documentation

Update Coverage Information.

Description

Updates the coverage-related columns in the input primer data frame. Does not modify the entries of template-specific coverage columns such as primer efficiency (comma-separated values).

Usage

## S3 method for class 'cvg.data'
update(
  filtered.df,
  sel,
  template.df,
  mode = c("on_target", "off_target"),
  active.constraints
)

Arguments

filtered.df

Primer data frame.

sel

List with indices of covered templates to be retained, one list with template indices to keep per primer.

template.df

Template data frame.

mode

Either on_target to filter on-target binding events or off_target to filter off-target binding events. The corresponding sel argument should be different.

active.constraints

The active coverage constraints.

Details

Removes all coverage events of templates whose index is not in sel.

Value

A primer data frame with updated coverage information.


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