A function to cache the phylogenies in treebase locally
Source:R/cache_treebase.R
cache_treebase.Rd
A function to cache the phylogenies in treebase locally
Arguments
- file
filename for the cache, otherwise created with datestamp
- pause1
number of seconds to hesitate between requests
- pause2
number of seconds to hesitate between individual files
- attempts
number of attempts to access a particular resource
- max_trees
maximum number of trees to return (default is Inf)
- only_metadata
option to only return metadata about matching trees
- save
logical indicating whether to save a file with the resuls.