Esempio n. 1
0
 def DisplayName(self):
     """
     Retrieve the display name for the data backing this subplot.
     
     @rtype: string
     @return: A string representing the name of the file for the 
         data backing this subplot.
     """
     return DataStore.getData()[self.dataIndex].displayname
Esempio n. 2
0
 def getClustering(self):
     """
     Retrieve the clustering specified for this subplot.
     
     @rtype: list
     @return: A list where each element indicates the cluster membership of the 
         corresponding index in the original data
     """
     return DataStore.getData()[self.dataIndex].clustering[self.clustIndex]
Esempio n. 3
0
 def Labels(self):
     """
     Retrieve the column labels for the data backing this subplot.
     
     @rtype: list
     @return: A list of strings representing the column names for the 
         data backing this subplot.
     """
     return DataStore.getData()[self.dataIndex].labels
Esempio n. 4
0
 def getData(self):
     """
     Retrieve the data backing this subplot.
     
     @rtype: numpy array
     @return: An array containing the original data backing this subplot.
     """
     data = DataStore.getData()
     facs = data[self.dataIndex]
     return facs.data