Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated examples

  • Loading branch information...
commit ea503aea9c62d275aaf3923d7bddeb8c6b05eeeb 1 parent 71fadfe
@cboettig authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.