clusterhclust {goCluster} | R Documentation |
This function is used by goCluster
to cluster a dataset
with the hclust
function.
clusterhclust( dataset, method = "complete", distance = "euclidean" )
dataset |
The dataset to be clustered. This has to be a matrix. |
method |
The clustering method that is going to be used by hclust . |
distance |
The distance metric that is going to be used by hclust . |
Hierarchical clustering will generate a tree that defines gene subgroups based on similarity. Each branchpoint in the tree denotes the splitting of a larger gene group into two smaller groups. The function converts the hclust format into a tree of lists that is being returned to the user.
The result represent the hclust
-tree as a list of lists. The
terminal nodes of the tree are character vectors holding the unique
ids of the genes in the cluster.
Gunnar Wrobel, http://www.gunnarwrobel.de.
clusterAlgorithmHclust-class
,
hclust
## Get the benomyl setup data(benomylsetup) ## Extract a fraction of the dataset benomyldata <- benomylsetup$data$dataset[1:200,] benomylids <- benomylsetup$data$uniqueid[1:200] ## Cluster the dataset clusterhclust(exprs(benomyldata))