Description Usage Arguments Value Methods (by class) Examples
This method plots the neighborhood extracted using
getNeighborhood
in a visually pleasing way. It is mainly a
wrapper around plot.igraph
to ensure the proper
information is visualised.
1 2 3 4 5 | plotNeighborhood(object, ...)
## S4 method for signature 'pgVirtualLoc'
plotNeighborhood(object, group, vicinity = 4,
...)
|
object |
A pgVirtualLoc subclass |
... |
Parameter passed on to igraph's plot method. |
group |
The name or index of a group. |
vicinity |
An integer giving the number of gene groups in both directions to collect. |
Called for the side effect of creating a plot. Invisibly returns an igraph object with all visual parameters set as node and edge attributes.
pgVirtualLoc
: Gene group neighborhood plotting for all
pgVirtualLoc subclasses
1 2 3 4 | testPG <- .loadPgExample(geneLoc=TRUE, withNeighborhoodSplit=TRUE)
# Nice little overview of the neighborhood of gene group 30
plotNeighborhood(testPG, 30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.