rsmap: Construct restriction map by given fragments

Description Usage Arguments Value Examples

View source: R/rsmap.R

Description

This function will visualize the restriction site map, by given single and double digests reaction result. Assume the input sequence is circular.

Usage

1
rsmap(enz1, frag1, enz2, frag2, dou_dig, name = "Unknown Sequence")

Arguments

enz1

the name of first enzyme.

frag1

the int vector of result of the single digests reaction by enzyme1.

enz2

the name of second enzyme.

frag2

the int vector of result of the single digests reaction by enzyme2.

dou_dig

the int vector of result of the double digests reaction by enzyme1 and enzyme2.

name

the name of tested sequence

Value

restriction map

Examples

1
2
3
4
5
6
7
frag1 <- c(100)
frag2 <- c(50, 25, 20, 5)
dou_dig <- c(25, 25, 25, 20, 5)
enz1 <- 'enz1'
enz2 <- 'enz2'
result <- rsmap(enz1, frag1, enz2, frag2, dou_dig)
result

LoadingBFX/rsrm documentation built on Dec. 8, 2019, 8:40 a.m.