A wrapper for HierarchicalSparseCluster which reads in the data in GCT file format, and then automatically chooses the optimal tuning parameter value using HierarchicalSparseCluster.permute if not specified.
HierarchicalSparseCluster.wrapper(file, method=c("average", "complete", "single",
"centroid"),
wbound=NULL, silent=FALSE, cluster.features=FALSE,
method.features=c("average", "complete",
"single","centroid"),output.cluster.files=TRUE,outputfile.prefix=NULL,maxnumgenes=5000,
standardize.arrays=TRUE)
A GCT filename in the working directory containing the data to be clustered.
The type of linkage to use in the hierarchical clustering - "single", "complete", "average", or "centroid".
The L1 bound on w to use; this is the tuning parameter for sparse hierarchical clustering. If NULL, then it will be chosen via HierarchicalSparseCluster.permute.
Print out progress?
Is a clustering for the features with non-zero weights also desired? Default is FALSE.
If cluster.features is TRUE, then the type of linkage used to cluster the features with non-zero weights: one of "single", "complete", "average", or "centroid".
Should files containing the clustering be output? Default is TRUE.
The prefix for the output files. If NULL, then the prefix of the input file is used.
Limit the analysis to some number of genes with highest marginal variance, for computational reasons. This is recommended when the number of genes is very large. If NULL, then all genes are used.
Should the arrays first be standardized? Default is TRUE.
The output of a call to "hclust", giving the results of hierarchical sparse clustering.
The p-vector of feature weights.
The nxn dissimilarity matrix passed into hclust, of the form $(sum_j w_j d_ii'j)_ii'$.
The (n*n)xp dissimilarity matrix for the data matrix x. This is useful if additional calls to HierarchicalSparseCluster will be made.
Witten and Tibshirani (2009) A framework for feature selection in clustering.
HierarchicalSparseCluster.permute,KMeansSparseCluster,KMeansSparseCluster.permute