Description Usage Arguments Details Value Note Author(s) Examples
The function diplays the individuals from a ggene
object and allows to extract a subset of points by clicking the display.
1 | subsetdata(X, L = NULL, col = NULL)
|
X |
A |
L |
An optional list of |
col |
The color to be used to display the points. |
This function is derived from the function clickpoly
from package spatstat
which allows the user to create a polygonal window by interactively clicking on the screen display. subsetdata
returns the corresponding subset of individuals in the form of a new ggene
object. The argument L
allows superimposing previous extractions to the current graphical display to ease manual polygon definition (see example and package vignette : vignette("introduction_to_ggene")
).
X |
A |
subset.ppp |
A |
original.ppp |
A |
See the package vignette for examples, for that type vignette("introduction_to_ggene")
.
Jean-Pierre Rossi <ggene.package@gmail.com>
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.