getBiocViews | R Documentation |
Given the URL to a CRAN-style package repository containing a
VIEWS
file at the top-level and a graph-class
object
representing a DAG of views, this function returns a list of
BiocView-class
objects.
getBiocViews(reposUrl, vocab, defaultView, local = FALSE, htmlDir = "")
reposUrl |
URL for a CRAN-style repository that hosts a
|
vocab |
A |
defaultView |
A string giving the term to use for packages that
do not list a term of their own via the |
local |
logical indicating whether to assume a local package
repository. The default is |
htmlDir |
if the |
A list of BiocView-class
objects. The names of the list give
the name of the corresponding view.
Seth Falcon
write_VIEWS
,
writeBiocViews
data(biocViewsVocab)
reposPath <- system.file("doc", package="biocViews")
reposUrl <- paste("file://", reposPath, sep="")
biocViews <- getBiocViews(reposUrl, biocViewsVocab, "NoViewProvided")
print(biocViews[1:2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.