Phylogenetic Variance-covariance or Correlation Matrix
This function computes the expected variances and covariances of a continuous phenotype assuming it evolves under a given model (currently only the model of Brownian motion is available).
vcv.phylo(phy, model = "Brownian", cor = FALSE)
- an object of class
- a character giving the model used to compute the
variances and covariances of the phynotype; by default
"Brownian". Currently only the Brownian model is available.
- a logical indicating whether the correlation matrix should
be returned (
TRUE); by default the variance-covariance matrix is returned (
- a numeric matrix with the names of the tips (as given by the
tip.labelof the argument
phy) as colnames and rownames.
Garland, T. Jr. and Ives, A. R. (2000) Using the past to predict the present: confidence intervals for regression equations in phylogenetic comparative methods. American Naturalist, 155, 346--364.
read.tree to read tree files in Newick format