hclust2treeview: Hierarchical clustering and treeview export

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/hclust2treeview.R

Description

This function compute hierachical clustering with function hcluster and export cluster to treeview files format.

Usage

1
hclust2treeview(x,file="cluster.cdt",method = "euclidean",link = "complete",keep.hclust=FALSE)

Arguments

x

numeric matrix or a data frame or an object of class "exprSet".

file

File name of export file.

method

the distance measure to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra" "binary" "pearson", "correlation" or "spearman". Any unambiguous substring can be given.

link

the agglomeration method to be used. This should be (an unambiguous abbreviation of) one of "ward", "single", "complete", "average", "mcquitty", "median" or "centroid".

keep.hclust

if TRUE: function returns a list of 2 objects of class hclust

Details

This function producte all 3 files needed by treeview, with extentions: cdt, gtr, atr.

Value

if keep.hclust = FALSE, function return 1. else function returns 2 objects of class hclust, first: hierachical clustering by rows, second: hierarchical clustering by columns

Author(s)

Antoine Lucas, http://mulcyber.toulouse.inra.fr/projects/amap/

References

Antoine Lucas and Sylvain Jasson, Using amap and ctc Packages for Huge Clustering, R News, 2006, vol 6, issue 5 pages 58-60.

See Also

hclust

Examples

1
2

ctc documentation built on Nov. 8, 2020, 5:11 p.m.