Learn R Programming

recluster (version 2.8)

recluster.plot.col: Plotting data in RGB space

Description

This function plots a matrix obtained by recluster.col in the RGB space.

Usage

recluster.plot.col(mat,cext=0.3,cex=1,cex.axis=0.7,cex.lab=0.8,pch=16,text=TRUE,
add=F,xlim=NULL,ylim=NULL,ylab="Axis 2",xlab="Axis 1",...)

Arguments

mat
A matrix inherited by recluster.col.
cext
Dimension for row names.
cex
Dimension of dots.
cex.axis
Dimension of axis labels.
cex.lab
Dimension of labels.
text
A logical indicating if row names should be plotted.
pch
The shape of the dots (See par()).
add
A logical indicating if the plot should be added to a precedent graph.
xlim
The limit values for x-axis, if NULL the values in the orignal matrix is used.
ylim
The limit values for y-axis, if NULL the values in the orignal matrix is used.
ylab
The label of the y-axis
xlab
The label of the x-axis
...
See par() for other graphical parameters

Value

  • A colour plot.

References

Kreft H., Jetz, W. 2010. "A framework for delineating biogeographic regions based on species distributions" J Biogeogr (2010),37: 2029-2053. Dapporto, L., Fattorini, S., Vod?, R., Dinc?, V., Vila, R. "Biogeography of western Mediterranean butterflies: combining turnover and nestedness components of faunal dissimilarity." J Biogeogr (2014), 41: 1639-1650. www.unifi.it/scibio/bioinfo/recluster.html

Examples

Run this code
data(datamod)
sordiss<- recluster.dist(datamod,dist="sorensen")
points<-metaMDS(sordiss, center=TRUE)$points
col<-recluster.col(points)
recluster.plot.col(col)

Run the code above in your browser using DataLab