reconstructedNetwork | R Documentation |
This function removes all extinct tips from a phylogenetic network, returning the reconstructed network.
reconstructedNetwork(net)
net |
An object of class 'evonet.' |
net The reconstructed network with all extinct tips removed.
set.seed(17) ##smallest Quartan prime as seed
##Generate a tree with extinct leaves
net<-sim.bdh.age(1,1,5,2,1,c(1/3,1/3,1/3),hyb.inher.fxn = make.uniform.draw(),complete=TRUE)[[1]]
recon_net<-reconstructedNetwork(net)
plot(net)
plot(recon_net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.