hierclus {Agi4x44PreProcess} | R Documentation

## Hierarchical clustering

### Description

Hierarchical cluster of samples using the 'hclust' function

### Usage

    hierclus(object, GErep, methdis, methclu,sel, size)

### Arguments

`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'

### Author(s)

Pedro Lopez-Romero

### See Also

hclust,dist

### Examples

    ## 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)

[Package Agi4x44PreProcess version 1.4.0 Index]