Documentos de Académico
Documentos de Profesional
Documentos de Cultura
#squamata
squamata<-read.tree("Squamata phylogeny.txt")
plot(squamata)
species<-
c("Sphenodon_punctatus","Gonatodes_superciliaris","Sphaerodactylus_molei","Tropidop
horus_hainanus","Cryptelytrops_kanburiensis")
species
my.phylo<-read.tree("Squamata phylogeny.txt")
plot(my.phylo)
pruned.tree<-drop.tip(my.phylo,my.phylo$tip.label[-
match(species,my.phylo$tip.label)])
drop.tree<-
drop.tip(my.phylo,c("Sphenodon_punctatus","Gonatodes_superciliaris","Sphaerodactylu
s_molei","Tropidophorus_hainanus","Cryptelytrops_kanburiensis"))
plot(drop.tree)
plot(pruned.tree)
#Angiosperm phylogeny
planta<-read.tree("MegaphylogenyPlants.txt")
planta
plot(planta)
speciesplantas<-
c("Blasia_pusilla","Frullania_teneriffae","Ophioglossum_lusitanicum","Cyathea_alata
","Asplenium_dimorphum")
planta.phylo<-read.tree("MegaphylogenyPlants.txt")
pruned2.tree<-drop.tip(planta.phylo,planta.phylo$tip.label[-
match(speciesplantas,planta.phylo$tip.label)])
plot(pruned2.tree)
# PCA
veg<-read.table("veg.txt",header=TRUE,row.names=1)
veg
pca.1<-pca(veg,cor=TRUE,dim=10)
plot(pca.1)