]> git.donarmstrong.com Git - ape.git/blobdiff - R/drop.tip.R
a few changes....
[ape.git] / R / drop.tip.R
index f1b413f8fe9eba18cf57c896aabcf73ec6fb353f..113c448eaeaf8805f51460e8ce3a511175e6b017 100644 (file)
@@ -1,4 +1,4 @@
-## drop.tip.R (2012-11-22)
+## drop.tip.R (2012-11-29)
 
 ##   Remove Tips in a Phylogenetic Tree
 
@@ -204,8 +204,8 @@ drop.tip <-
             if (is.null(phy$node.label)) rep("NA", length(node2tip))
             else phy$node.label[node2tip - Ntip]
         }
-        if (!is.null(phy$node.label))
-            phy$node.label <- phy$node.label[-(node2tip - Ntip)]
+#        if (!is.null(phy$node.label))
+#            phy$node.label <- phy$node.label[-(node2tip - Ntip)]
         phy$tip.label <- c(phy$tip.label, new.tip.label)
     }