-## drop.tip.R (2012-10-06)
+## drop.tip.R (2012-10-20)
## Remove Tips in a Phylogenetic Tree
if (is.character(tip))
tip <- which(phy$tip.label %in% tip)
}
+ if (!length(tip)) return(phy)
if (any(tip > Ntip))
warning("some tip numbers were higher than the number of tips")