Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (38 sloc) 1.17 KB
\title{Search the PhyloWS metadata}
phylo_metadata(x = c("", "", "kind", "type", "quality", "ntaxa"),
metadata = NULL, ...)
\item{x}{one of "Study.ids", "Tree.ids", "kind", "type",
"quality", "ntaxa"}
\item{metadata}{returned from \code{search_treebase}
function. if not specified will download latest copy of
PhyloWS metadata from treebase. Pass in search results
value during repeated calls to speed function runtime
\item{...}{additional arguments to
a list of the values matching the query
Search the PhyloWS metadata
# calls will work without a metadata object, but require longer to download data
kind <- treebase:::phylo_metadata("kind")
type <- phylo_metadata("type")
table(kind, type)
# but are much faster if the data object is provided, see cache_treebase():
kind <- treebase:::phylo_metadata("kind", metadata=treebase)
type <- treebase:::phylo_metadata("type", metadata=treebase)
table(kind, type)
Jump to Line
Something went wrong with that request. Please try again.