primer_add_level: Add a level to exisiting Primerset

Description Usage Arguments Value Examples

View source: R/exported_functions.R

Description

This function replaces the prefix, the suffix and the restriction enzyme of a given Primerset to change the design to another level. You can use this function to convert an exisiting Level 2 Primerset to a Level 0 Primerset for example. Also the overhangs of the first and the last primer will be modified to match the plasmid of the new level.

Usage

1
2
3
4
5
6
7
primer_add_level(
  primerset,
  prefix = "TT",
  restriction_enzyme = "GAAGAC",
  suffix = "AA",
  vector = c("CTCA", "CTCG")
)

Arguments

primerset

An exisiting Primerset (in Level 2)

prefix

Additional nucleobases in 5' position of the new recognition site [default: TT]

restriction_enzyme

Recognition site sequence of the new restriction enzyme (Level 0) [default: GAAGAC]

suffix

Spacer nucleotides matching the cleavage pattern of the enzyme (Level 0) [default: AA]

vector

Four basepair overhangs complementary to the created overhangs in the acceptor vector [default: c("CTCA", "CTCG")]

Value

A Primerset in the new Level (Level 0)

Examples

1
2
3
4
#Load level 2 results of the MSD vignette
data(MSD_BsaI_result_lv2)
primer_add_level(primers,  prefix="TT", 
restriction_enzyme="GAAGAC", suffix="AA", vector=c("CTCA", "CTCG"))

ipb-halle/GoldenMutagenesis documentation built on Sept. 1, 2020, 3:24 p.m.