plotenz: Plotting the simulated RFLP or TRFLP pattern

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Plotting the simulated RFLP or TRFLP pattern using selected restriction enzymes.

Usage

1
plotenz(sequences, enznames, enzdata, side = TRUE, type = c("RFLP", "TRFLP"), Terminal = c("T5", "T3"))

Arguments

sequences

The input data in class fasta containing the DNA sequences.

enznames

The speciefied restriction enzyme names to be applied in RFLP or TRFLP analysis.

enzdata

The dataframe contained enzyme data.

side

Whether to plot the markers for each sequence. Default is TURE which means to plot the marker only once.

type

Pattern type to be specified, should be either "RFLP" or "TRFLP".

Terminal

Terminal noted in "TRFLP" analysis, should be either "T3" or "T5".

Details

If type = "TRFLP" (The "TRFLP" were selected), the Terminal must also been provided by the user, it's value is either "T3" or "T5".

Value

Returns the plot of simulated RFLP or TRFLP.

Author(s)

Qiong Ding dingqiong1@gmail.com

References

None.

See Also

See Also frag.dat for the summary of RFLP results.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## plotenz() example

data(enzdata)
data(fil.phy)
fas <- ConvFas(fil = fil.phy, type = "phy")

enznames <- c("EcoRI", "Acc65I", "HinfI")

plotenz(sequences = fas, enznames = enznames, 
        enzdata = enzdata, side = TRUE, type = "RFLP")
		
plotenz(sequences = fas, enznames = enznames, 
        enzdata = enzdata, side = FALSE, type = "RFLP")		
				
plotenz(sequences = fas, enznames = enznames, 
        enzdata = enzdata, side = TRUE, type = "TRFLP", "T3")
		
		

seqRFLP documentation built on May 2, 2019, 6:02 a.m.