plot.simRFLP: Plot an 'simRFLP' object

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

View source: R/plot.simRFLP.R

Description

Plots an ordination of the Principal Components Analysis conducted by simRFLP.

Usage

1
2
## S3 method for class 'simRFLP'
plot(x, sppcol = NULL, linecol = "grey25", linewex = 0.4, ...)

Arguments

x

An object of class ‘simRFLP’.

sppcol

Used to plot differently coloured lines for each species. The species vector (see sppVector) can be used.

linecol

Colour that lines should be coloured. Ignored if sppcol is given.

linewex

Width of each band. Default of 0.4.

...

Other arguments to be passed to plot.

Details

sppcol can be given as character or numeric vectors. The latter is useful if the default palette is not suitable.

Value

Plots a depiction of the fragment lengths resulting from the RFLP analysis conducted using simRFLP.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

See Also

simRFLP.

Examples

1
2
3
4
5
6
7
8
9
data(dolomedes)
doloSpp <- substr(dimnames(dolomedes)[[1]], 1, 5)

doloRFLP <- simRFLP(dolomedes, "Alu1")

plot(doloRFLP)
plot(doloRFLP, sppcol = doloSpp)
plot(doloRFLP, sppcol = as.numeric(as.factor(doloSpp))*10)
plot(doloRFLP, linewex = 0.1)

spiderDev documentation built on May 2, 2019, 5:23 p.m.