Skip to contents

Produce A Network of Tocky Clusters

Usage

TockyNetwork(x, reduction = "CCA", cut_off = 0.2)

Arguments

x

A TockyPrepData after running the function TockyClustering.

reduction

Choose whether to use PCA or CCA as a reduction method. When using CCA, TockyCCA must have been applied to the TockyPrepData.

cut_off

Threshold value as a quantile percentage for edge connection. For example, the default 0.2 will set the threshold at 20% quantile of distance between clusters, connecting neighbor clusters.

Value

A revised TockyPrepData containing an igraph network object. Network is constructed based on the neighbor proximity.

Examples

if (FALSE) { # \dontrun{
x <- TockyNetwork(x)
} # }