Learn R Programming

HierDpart (version 1.5.0)

DeltaDcorplot: Plot correlation matrix for pairwise Delta D

Description

This function plots the pairwise genetic differentiation (Delta D).

Usage

DeltaDcorplot(x, ncode)

Arguments

x

The genetic data file, genepop format.

ncode

The coding type of the genetic data.

Value

The result will return a genetic differentiation (Delta D) correlation plot.

Details

This function returns the pairwise genetic differentiation (Delta D) plot.

References

Gaggiotti, O. E., Chao, A., Peres-Neto, P., Chiu, C. H., Edwards, C., Fortin, M. J., ... & Selkoe, K. A. (2018). Diversity from genes to ecosystems: A unifying framework to study variation across biological metrics and scales. Evolutionary Applications.

See Also

HierD; CorDdplot

Examples

Run this code
# NOT RUN {
# example genepop file
f <- system.file('extdata',package='HierDpart')
infile <- file.path(f, "Island.gen")
DeltaDcorplot(infile,ncode=3)
# }

Run the code above in your browser using DataLab