Description Usage Arguments Value
View source: R/SimulationPVR.R
This function calculates the phylogenetic correlation between the genetic distance calculated from a minimal spanning network. This uses the average commute time to calculate the distance between the nodes of the netowrk and it takes phenotypic information from the user. Each individual must be unique (incompatible with various individuals with the same genotype).
1 |
pop |
Population in a poppr format. Can be imported from a Genalex formatted file. |
traits |
Vector of the phenotypic characteristics of the members of the populations. |
dismet |
Metric for distance in the network. Defaults to normalized average commute time. |
pvrmet |
Metric for the correlation coefficient. Defaults to Moran's I |
gendist |
Metric for the genetic distance to elaborate the MSN. Defaults to Bruvo distance. Other options include: "nei" for Nei's distance, "bitwise" for Bitwise distance, "absolute" for absolute distance, "rogers" for Roger's distance, and "reynolds" for Reynold's distance. |
Returns the eigenvalue correlation between the traits given and the distance between tne nodes in the network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.