getBiocSubViews | R Documentation |
This function returns a list of BiocView-class
objects
corresponding to the subgraph of the views DAG induced by
topTerm
. In short, this does the same thing as
getBiocViews
, but limits the vocabulary to
topTerm
and all of its decendents.
getBiocSubViews(reposUrl, vocab, topTerm, local = FALSE, htmlDir = "")
reposUrl |
URL for a CRAN-style repository that hosts a
|
vocab |
A |
topTerm |
A string giving the name of the subview DAG. This view and all of its decendents will be included in the result. |
local |
logical indicating whether to assume a local package
repository. The default is |
htmlDir |
if the |
The root of the vocabulary DAG is implicitly included in the view creation process order to build views with a link back to the top. It is removed from the return list.
This function is tailored to generation of Bioconductor Task Views.
With the current vocabulary, it probably only makes sense to call it
with topView
set to one of "Software"
,
"AnnotationData"
, or "ExperimentData"
. This is a hack
to allow the biocViews code to manage HTML views across more than one
repository.
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 <- getBiocSubViews(reposUrl, biocViewsVocab, "Software")
print(biocViews[1:2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.