| clusterAssignment {TimeSeriesExperiment} | R Documentation |
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.
clusterAssignment(object, ...) ## S4 method for signature 'TimeSeriesExperiment' clusterAssignment(object, name = NULL) clusterMap(object, ...) ## S4 method for signature 'TimeSeriesExperiment' clusterMap(object)
object |
a |
... |
argiments to other functions. |
name |
one of elements of 'clusterAssignment' slot: 'settings', 'hclust', 'cluster_map', 'clust_centroids'. If NULL, all elements are returned. |
a data.frame
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'))