.clusterGraph {SpatialCPie} | R Documentation

## Cluster graph

### Description

Cluster graph

### Usage

    .clusterGraph(assignments, clusterMeans, featureName,
      transitionProportions = "To", transitionLabels = FALSE,
      transitionThreshold = 0, numTopFeatures = 10)

### Arguments

`assignments` | `data.frame` with columns `"name"`, `"resolution"`, and `"cluster"`.
`clusterMeans` | `data.frame` with columns `"name"`, `"resolution"`, `"cluster"`, `featureName`, and `"mean"`.
`featureName` | `character` with the name of the clustered feature.
`transitionProportions` | how to compute the transition proportions. Possible values are: `"From"`: based on the total number of assignments in the lower-resolution cluster `"To"`: based on the total number of assignments in the higher-resolution cluster
`transitionLabels` | `logical` specifying whether to show edge labels.
`transitionThreshold` | hide edges with transition proportions below this threshold.
`numTopFeatures` | `integer` specifying the number of features to show in the hover tooltips.

### Value

`ggplot` object of the cluster graph.

[Package SpatialCPie version 1.4.0 Index]