cytonormpy.FlowSOM.calculate_clusters_multiple

cytonormpy.FlowSOM.calculate_clusters_multiple#

FlowSOM.calculate_clusters_multiple(X, n_clusters)#

Calculates the clusters for a given metacluster number. The estimator will calculate a SOM once, then fit the ConsensusCluster class given the n_metaclusters that are provided.

Parameters:
  • X (ndarray) – The data that are supposed to be predicted.

  • n_metaclusters – A list of integers specifying the number of metaclusters per test.

Returns:

  • Cluster annotations stored in a np.ndarray, where the n_metacluster

  • denotes the column and the rows are the individual cells.