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
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]
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
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