Various plotting options for subsets of disto objects

# S3 method for disto
plot(x, ...)

Arguments

x

object of class disto

...

Additional arguments. See details.

Value

ggplot object

Details

Among the additional arguments,

  • 'type: is mandatory. Currently, these options are supported: heatmap, dendrogram.

  • sampleSize: A random sample of indexes is drawn from the distance object underlyting the disto mapping. Default value of sampleSize is set to 100.

  • seed seed for random sample. Default is 100.

Examples

temp <- stats::dist(iris[,1:4]) dio <- disto(objectname = "temp")
#> Error: Unable to find the object in the specified environment.
plot(dio, type = "heatmap")
#> Error in plot(dio, type = "heatmap"): object 'dio' not found
plot(dio, type = "dendrogram")
#> Error in plot(dio, type = "dendrogram"): object 'dio' not found