phylosort<-function(data, phylo) {
util.pd <- beta.pd.utils(data,phylo)
betadiv <- betasor.pd(util.pd)
results=NULL
results <- dist.mat(data,betadiv[,2])
names(results)<- colnames(betadiv)[2]
results<-results
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.