Dist2WR | R Documentation |
Dist2WR
computes the 2WR matrix from the results obtaind with DistatisFast
(the fast version of distatis). For internal use mostly.
Dist2WR(Distatis)
Distatis |
output of the fonction |
A matrix (gene=rows x species=col). Each cell represents a gene/species pair, whose value represents the distance between (i) the position of this species in this gene tree and (ii) the average position of this species in all other gene trees.
data(carnivora)
matrices<-phylter(carnivora, InitialOnly=TRUE, parallel=FALSE)$matrices
ds<-DistatisFast(matrices, parallel = FALSE)
WR<-Dist2WR(ds) #returns the gene x species matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.