Learn R Programming

baseq (version 0.2.0)

simulate_digestion: Virtual Digestion

Description

Simulates restriction enzyme digestion.

Usage

simulate_digestion(s, p)

Value

A numeric vector of fragment lengths

Arguments

s

A character string containing the DNA sequence

p

A character string containing the restriction site (regex)