mismatch.mutation.check: Identification of Mutations Induced by Mismatch Binding...

View source: R/con_primer_coverage.R

mismatch.mutation.checkR Documentation

Identification of Mutations Induced by Mismatch Binding Events.

Description

Identifies whether mutations are induced by mismatch binding events.

Usage

mismatch.mutation.check(
  primer.df,
  template.df,
  mutation.types = c("stop_codon", "substitution")
)

Arguments

primer.df

A Primers object.

template.df

A Template object.

mutation.types

Character vector of the mutation types to be checked for.

Details

Checks for one primer and all covered templates whether any templates are bound with mismatches such that mismatches are induced. A numeric vector indicating which binding events induce a forbidden mismatch according to mutation.types is returned such that 1 indicates forbidden events and 0 allowed events.

Value

A list containing data frames where an entry of 1 is present if the primer.seq induces a mutation that is forbidden according to the provided mutation.types, otherwise 0.


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