SpatialNetwork: spaceST network graphs

Description Usage Arguments

View source: R/SpatialNetwork.R

Description

Visualize SNN networks for spatial data

Usage

1
2
3
4
5
SpatialNetwork(object, subset_by = NULL, color_by = "clusters",
  select.clust.group = 1, select.rep.group = NULL,
  mode = "fruchtermanreingold", vertex.size = 1,
  edge.color = "black", edge.size = 0.1, clusters.snn = F,
  cols = NULL, ...)

Arguments

object

Object of class spaceST.

subset_by

Select attribute to subset igraph by, default NULL (options: "clusters", "replicate").

color_by

Select attribute to color vertices by (options: "clusters", "replicate", "clust_and_rep).

select.clust.group

Select cluster by cluster number.

select.rep.group

Select replicate by replicate ID.

mode

Select mode for network object, default NULL (options: "spatial", "circle", "kamadakawai", ... For more options, see available placement algorithms in the sna package).

vertex.size

Size of nodes/vertices.

edge.color

Color edges of network.

edge.size

Select size for edges in network.

clusters.snn

Cluster data using network based approach.

cols

character; Specify colors of grouping variables.

...

Parameters passed to ggnet2


ludvigla/spaceST documentation built on May 29, 2019, 3:43 a.m.