Learn R Programming

seqRFLP (version 1.0.1)

enzCut: Restriction enzyme cutting pattern

Description

Function for calculating Restriction enzyme cutting pattern

Usage

enzCut(DNAsq, enznames, enzdata = enzdata)

Arguments

DNAsq
The input fasta data.
enznames
A character vector of the restriction enzyme's names, from one to multiple names.
enzdata
Dataframe with first column for enzyme names, second column for enzyme cutting patterns.

Value

enz
The selected restriction enzyme.
RFLP.site
The sites recognized by enzyme.
RFLP.frag
The fragments generated by enzyme cutting.
TRFLP
The fragments predicted by TRFLP

Details

Users could add restriction sites manually according to the enzdata styles.

References

None.

See Also

See Also frag.dat

Examples

Run this code

## enzCut() example
data(enzdata)
enznames <- c("EcoRI", "Acc65I")
data(fil.phy)
fas <- ConvFas(fil = fil.phy, type = "phy")
enzCut(DNAsq = fas[2], enznames = "AluI", enzdata = enzdata)

Run the code above in your browser using DataLab