.clusterTree {SpatialCPie}R Documentation

Cluster tree

Description

Cluster tree

Usage

.clusterTree(assignments, transitionProportions = "To",
  transitionLabels = FALSE, transitionThreshold = 0)

Arguments

assignments

data.frame with columns "name", "resolution", and "cluster".

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.

Value

ggplot object of the cluster tree.


[Package SpatialCPie version 1.0.0 Index]