This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Specifying Packages For Dependency Graph Creation With R

I want to grab select packages from the Bioconductor repository index. As I understand it, there are one of two ways to do this:

  1. Use some argument with the following repository url:

    repos = biocinstallRepos()[1]

  2. Use some extra argument to the makeDepGraph function below:

    z = makeDepGraph(repos)

How can I specify - by name - for which packages I want to create a dependency graph?

Also, using Rgraphviz, how can I add the name of each package as a label?

TIA.

r bioconductor

1 answer

For your first question, take a look at the subGraph function from the graph package. For your second, please take a look at the Rgraphviz vignette.

Log in to answer this question.