identify.networx {phangorn} | R Documentation |
Identify splits in a network
Description
identify.networx
reads the position of the graphics pointer when the
mouse button is pressed. It then returns the split belonging to the edge
closest to the pointer. The network must be plotted beforehand.
Usage
## S3 method for class 'networx'
identify(x, quiet = FALSE, ...)
Arguments
x |
an object of class |
quiet |
a logical controlling whether to print a message inviting the user to click on the tree. |
... |
further arguments to be passed to or from other methods. |
Value
identify.networx
returns a splits object.
Author(s)
Klaus Schliep klaus.schliep@gmail.com
See Also
Examples
## Not run:
data(yeast)
dm <- dist.ml(yeast)
nnet <- neighborNet(dm)
plot(nnet)
identify(nnet) # click close to an edge
## End(Not run)
[Package phangorn version 2.11.1 Index]