Build a list of BiocView objects from a package repository
getBiocViews(reposUrl, vocab, defaultView, local = FALSE, htmlDir = "")
- URL for a CRAN-style repository that hosts a
VIEWSfile at the top-level.
graph-classobject representing the ontology of views. This graph should be a directed acyclic graph (DAG).
- A string giving the term to use for packages that
do not list a term of their own via the
biocViewsfield in the DESCRIPTION file.
- logical indicating whether to assume a local package
repository. The default is
FALSEin which case absolute links to package detail pages are created.
- if the
TRUE, this will be used as the relative path for package HTML files.
A list of
BiocView-classobjects. The names of the list give the name of the corresponding view.
data(biocViewsVocab) reposPath <- system.file("doc", package="biocViews") reposUrl <- paste("file://", reposPath, sep="") biocViews <- getBiocViews(reposUrl, biocViewsVocab, "NoViewProvided") print(biocViews[1:2])
Looks like there are no examples yet.