Description Usage Arguments Value Author(s) See Also Examples
Applies a specified function (in the graphDispParams
object) to each section of the annotation data.frame
after being split by the summary ID. This facilitates
mapping metadata supplied in the annotation data.frame
to nodes.
1 | process.node.annot(obj, targ.nodes, graph.params, func.name)
|
obj |
A |
targ.nodes |
The node names of the graph to be plotted. Should correspond to the summary IDs. |
graph.params |
A |
func.name |
The name of the function-calling method to apply, the resulting function should take a |
Returns a character
vector named by the appropriate summary ID
Daniel Bottomly
variantPriorResult
, graphDispParams
, annotatedIGraph
, make.target.graph
1 2 3 4 5 6 7 8 | set.seed(123)
data(prior_obj, package="HitWalker")
test.symbs <- sample(annotation(getGraph(prior.obj))$symbol, 10)
graph.params <- makeGraphDispParams(file.name=character())
process.node.annot(obj=prior.obj, targ.nodes=test.symbs, graph.params=graph.params, func.name=shapeFunc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.