hierclus {Agi4x44PreProcess} | R Documentation |
Hierarchical cluster of samples using the 'hclust' function
hierclus(object, GErep, methdis, methclu,sel, size)
object |
An expression Matrix |
GErep |
Numerical vector that relates each sample with its experimental condition |
methdis |
the distance measure to be used. Options are 'euclidean' and 'pearson'. see 'dist' function |
methclu |
the agglomeration method to be used by the 'hclust' function |
sel |
logical, if TRUE selects the 'size' highest variance genes for the plot |
size |
selects the 'size' highest variance genes for the plot if 'sel=TRUE' |
Pedro Lopez-Romero
hclust,dist
## Not run: data(dd) data(targets) GErep=targets$GErep selSNR=which(dd$genes$ControlType==0) dd.aux=dd[selSNR,] index=which(duplicated(dd.aux$genes$ProbeName)==FALSE) dd.aux=dd.aux[index,] hierclus(dd.aux$G,GErep,methdis="euclidean", methclu="complete",sel=FALSE,100) ## End(Not run)