Description Usage Arguments Value Examples
View source: R/exported_functions.R
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.
1 2 3 4 5 6 7 | primer_add_level(
primerset,
prefix = "TT",
restriction_enzyme = "GAAGAC",
suffix = "AA",
vector = c("CTCA", "CTCG")
)
|
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")] |
A Primerset in the new Level (Level 0)
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.