slim: filter the primer set combinations.

Description Usage Arguments Details Value Author(s) Examples

View source: R/slim.R

Description

function to remove primer combinations from the theoretical combinations.

Usage

1
slim(x, y)

Arguments

x

Character, the file of all theoretical combination of primer sets.

y

Character, the file of the primer combinations with theoretical dimers.

Details

In this function, the primer combinations with cross primer dimer with be removed from the theretical combinations of primer set.

Value

This function will return a two-column data frame, giving the valid primer combinations.

Author(s)

Sizhong Yang <yanglzu@163.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
data(report)
data(PrimerLabels)

## generate all possible combinations for the primers

tcomb = primerCombi(PrimerLabels)

## find out all cross dimer combinations

wcomb = reparser(repfile = report)

## get primer combanation by removing the cross dimers

vcomb = slim(x = tcomb, y = wcomb)
dim(vcomb)
head(vcomb)

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