Skip to content
Browse files

updated examples

  • Loading branch information...
1 parent 71fadfe commit ea503aea9c62d275aaf3923d7bddeb8c6b05eeeb @cboettig committed May 11, 2011
Showing with 9 additions and 0 deletions.
  1. 0 demos/{search.R → examples.R}
  2. +9 −0 demos/long_examples.R
View
0 demos/search.R → demos/examples.R
File renamed without changes.
View
9 demos/long_examples.R
@@ -0,0 +1,9 @@
+#long_examples.R
+require(XML)
+require(RCurl)
+require(ape)
+require(treebase)
+
+# Return all treebase trees that have branch lengths
+all <- search_treebase("Consensus", "type.tree", branch_lengths=TRUE)
+dates <- sapply(1:length(all) function(i) metadata(all[[i]]$S.id)[[1]]$date)

0 comments on commit ea503ae

Please sign in to comment.
Something went wrong with that request. Please try again.