dot-clusterGraph: Cluster graph

Description Usage Arguments Value

Description

Cluster graph

Usage

1
2
3
.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.


SpatialCPie documentation built on Nov. 8, 2020, 7:43 p.m.