plot_primer_binding_regions,Primers,Templates-method {openPrimeR} | R Documentation

## Plot of Primer Binding Regions for a Single Primer Set.

### Description

Plots the primer binding regions in the templates.

### Usage

    ## S4 method for signature 'Primers,Templates'
    plot_primer_binding_regions(
      primers,
      templates,
      direction = c("both", "fw", "rev"),
      group = NULL,
      relation = c("fw", "rev"),
      region.names = c("Binding region", "Amplification region")
    )

### Arguments

`primers` | An object of class `Primers` with annotated primer coverage.
`templates` | An object of class `Templates` providing the template sequences corresponding to `primers`.
`direction` | Primer direction
`group` | The template groups for which binding events should be determined. By default, `group` is set to `NULL` such that all templates are considered.
`relation` | A character vector specifying whether binding region data shall be plotted relative to the forward (`fw`) or reverse (`rev`) target binding regions.
`region.names` | Names for the primer binding region and the amplified region.

### Value

A histogram of primer binding regions.

[Package openPrimeR version 1.12.1 Index]