Description Objects from the Class Slots Extends Methods Author(s) References See Also Examples
A class definition for graphs that are based on distances.
Objects can be created by calls of the form new("distGraph", ...)
.
Dist
:Object of class "dist"
that forms the
basis for the edge weights used in the distGraph
.
Class "graph"
, directly.
signature(object = "distGraph")
: a print method
signature(object = "distGraph")
: return the dist
object.
signature(object = "distGraph")
: find the nodes
adjacent to the supplied node.
signature(object = "distGraph")
: return the
nodes in the graph.
signature(object = "distGraph")
: return the
number of nodes.
signature(object = "distGraph", k, value)
: set all
distances that are larger than the supplied threshold, k
, to the
supplied value. The default is value is zero (and so is appropriate for
similarities, rather than distances).
signature(object = "distGraph")
:
initialize a distGraph
instance.
Return a list of edge weights in a list format
similar to the edges
method.
signature(graph = "distGraph")
: A method for
obtaining the edge list.
R. Gentleman
Shamir's paper and Butte et al
graph-class
, clusterGraph-class
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.