clusterAssignment {TimeSeriesExperiment}R Documentation

Cluster analysis results

Description

Getter methods for clusterAssignment slot of a TimeSeriesExperiment object. The slot is a list with with elements named: 'settings', 'hclust', 'cluster_map', 'clust_centroids' storing results from running clusterTimeSeries function.

Usage

clusterAssignment(object, ...)

## S4 method for signature 'TimeSeriesExperiment'
clusterAssignment(object, name = NULL)

clusterMap(object, ...)

## S4 method for signature 'TimeSeriesExperiment'
clusterMap(object)

Arguments

object

a TimeSeriesExperiment object.

...

argiments to other functions.

name

one of elements of 'clusterAssignment' slot: 'settings', 'hclust', 'cluster_map', 'clust_centroids'. If NULL, all elements are returned.

Value

a data.frame

Examples


data("endoderm_small")
endoderm_small <- clusterTimeSeries(endoderm_small)
clusterAssignment(endoderm_small, name = 'settings')
head(clusterAssignment(endoderm_small, name = 'final_cluster_map'))
head(clusterAssignment(endoderm_small, name = 'clust_centroids'))


[Package TimeSeriesExperiment version 1.11.1 Index]