Learn R Programming

pergola (version 1.0)

plotRf: Plot recombination frequencies

Description

Graphical representation of recombination frequencies to support supervised estimation of the numbers of clusters

Usage

plotRf(rf, plottype = "dendrogram", method = "single", cex.axis = 1, ...)

Arguments

rf
Matrix of pairwise recombination frequencies.
plottype
Default is "dendrogram". Any other value will plot the recombination frequencies.
method
Default is "single", which is used for the hierarchical clustering.
cex.axis
Size of axis labels in image plot.
...
arguments are forwarded to image.

Value

None.

Examples

Run this code
data(simTetra)
simTetraGen <- bases2genotypes(simTetra, 4)
rfMat <- calcRec(simTetraGen, 4)
plotRf(rfMat)

Run the code above in your browser using DataLab