Cluster

Parent: DataSet

Public Methods

  • DONE Cluster - public constructor
  • DONE Copy - used to copy an instance of a cluster
  • DONE SetMatric (char,char,char) - set up distance function and hierarchical clustering method
  • DONE Hierarchical (DataGrouping) - save all of clustering results (cdt,atr,gtr)

Private Methods

  • DONE cValue - struct, used to hold index and its value
  • DONE Asc - sort rows/columns by ascending order
  • DONE Sort(int, double, ref SortedList)- sets up an index table given the data, such that data[index[]] is in increasing order
  • DONE TreeSort (char,int,double[,],int[,],int[,]) - sort data set according to cluster result
  • DONE SaveCluster (string,bool,bool,DataGrouping)- save cluster data table
  • DONE distancematrix (int) - initialize matrix to be calculated and get uccorrelation results
  • DONE Ucorrelation (int,int,int,int) - Calculates the weighted pearson distance between two rows or columns, using the uncenerted version of the pearson correlation
  • DONE Correlation (int,int,int,int) - Calculates the Pearson distance between two rows or columns in a matrix.
  • DONE Spearman (int,int,int,int) - Calculates the Spearman's rank distance between two rows or columns in a matrix.
  • DONE GetRank (int,double,double) - Calculate the ranks of the elements in the array data. Tow elements with the same value get the same rank, equal to the average of the rank had the elements different values.
  • DONE TreeCluster (int,char,double[][],ref int[,], ref double[]) - calls the clustering method
  • DONE PalCluster (int,dobule[][],int[,],double[]) - performs clustering using pairwise average linkage on the given distance matrix
  • DONE PslCluster (int,dobule[][],int[,],double[]) - performs clustering using pairwise single linkage on the given distance matrix
  • DONE PmlCluster (int,dobule[][],int[,],double[]) - performs clustering using pairwise complete(maximum) linkage on the given distance matrix
  • DONE HierarchiclCluster (string,int) - save clustering resuls (.gtr or .atr files)

Private Members

  • DONE char geneMatric - distance method to be used in calculating genes
  • DONE char arrayMatric - distancd method to be used in calculating arrays (samples)
  • DONE char method - hierarchical clustering algorithm to be used
  • DONE string filename - file name to load
  • DONE string pathName - a location that different from original path
  • DONE int partoalRowNum - number of rows to load

Topic revision: r6 - 03 Feb 2005, JoanZhang
This site is powered by FoswikiCopyright &© 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback