createSpatialDelaunayNetwork
¶
Create a spatial Delaunay network
Description¶
Create a spatial Delaunay network based on cell centroid physical distances.
Usage¶
createSpatialDelaunayNetwork(
gobject,
name = "Delaunay_network",
spat_unit = NULL,
feat_type = NULL,
spat_loc_name = NULL,
method = c("deldir", "delaunayn_geometry", "RTriangle"),
dimensions = "all",
maximum_distance = "auto",
minimum_k = 0,
options = "Pp",
Y = TRUE,
j = TRUE,
S = 0,
verbose = T,
return_gobject = TRUE,
...
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
name for spatial network (default = ‘delaunay_network’) |
|
spatial unit |
|
feature type |
|
name of spatial locations |
|
package to use to create a Delaunay network |
|
which spatial dimensions to use. Use “sdimx” (spatial dimension x), “sdimy”, “sdimz” respectively to refer to X (or the 1st), Y (or the 2nd) and Z(or the 3rd) dimension, see details. (default = all) |
|
distance cuttof for Delaunay neighbors to consider. If “auto”, “upper wisker” value of the distance vector between neighbors is used; see the boxplot graphics documentation for more details.(default = “auto”) |
|
minimum number of neigbhours if maximum_distance != NULL |
|
(geometry) String containing extra control options for the underlying Qhull command; see the Qhull documentation (../doc/qhull/html/qdelaun.html) for the available options. (default = ‘Pp’, do not report precision problems) |
|
(RTriangle) If TRUE prohibits the insertion of Steiner points on the mesh boundary. |
|
(RTriangle) If TRUE jettisons vertices that are not part of the final triangulation from the output. |
|
(RTriangle) Specifies the maximum number of added Steiner points. |
|
verbose |
|
boolean: return giotto object (default = TRUE) |
|
Other additional parameters |
Details¶
Creates a spatial Delaunay network as explained in ``delaunayn` <#delaunayn>`_ (default), ``deldir` <#deldir>`_ , or ``triangulate` <#triangulate>`_ .
Value¶
giotto object with updated spatial network slot