Description Details Objects from the Class Slots Methods Author(s) See Also Examples
This class is used to transfer information to Graphviz that is necessary to represent and plot a node.
The attrs
slot is a named list, where the names correspond to
attributes and the values in the list correspond to the value for that
element's attribute.
The subG
slot describes which subgraph this node is a part of.
A value of 0
implies that the node is not a member of any subgraph.
Objects can be created by calls of the form new("pNode", ...)
.
name
:Object of class "character"
: The name of
the node, used to reference the node.
attrs
:Object of class "list"
: A list of
attributes specific to this node.
subG
:Object of class "integer"
: Which subgraph
this node is a part of.
signature(object = "pNode")
: Retrieves the
name
slot of the object.
R. Gentleman and Jeff Gentry
1 2 3 4 5 6 7 8 9 |
Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colMeans, colSums, colnames,
dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
intersect, is.unsorted, lapply, lengths, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which, which.max, which.min
Loading required package: grid
An object of class "pNode"
Slot "name":
[1] "a"
Slot "attrs":
$label
[1] "a"
Slot "subG":
[1] 0
[1] "a"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.