wrapped: A wrapped function to directly generate primer sets according...

Description Usage Arguments Value Author(s) Examples

View source: R/wrapped.R

Description

This function will generate primer combinations based on the files of primer check report by Multiple Primer Analyzer in Thermo Fisher Scientific, primer list and the specified number of primer sets

Usage

1
wrapped(repfile, primerfile, n)

Arguments

repfile

Arguments to specify the file name of primer check result from Multiple Primer Analyzer in Thermo Fisher Scientific. The user can either specify the file handle (name) or variable containing the file.

primerfile

Arguments to specify the two-column file of primer identifiers. This file is requested to follow the format of primeExample.

n

Numeric, integer to specify the number of primer sets you expected. For technical reasons, n should be less than 2 times of the number of unique pairs of initial barcoded primers.

Value

The function will return a data frame of two columns. The 1st and 2nd columns show the identifiers of forward primer and reverse primer, respectively. Each row is a combination of primer set which has passed the primer check process, and (potentially/most probably) work in PCR amplication.

Author(s)

Sizhong Yang <yanglzu@163.com>

Examples

1
2
3
4
5
6
7
data(report)
data(PrimerLabels)

result <- wrapped(repfile = report, primerfile = PrimerLabels, n=120)

dim(result)
head(result)

cam315/barcodePrimer documentation built on Dec. 9, 2020, 7:01 p.m.