motifHclust {motifStack} | R Documentation

## Hierarchical Clustering motifs

### Description

functions to perfom clustering of output of matalign

### Usage

    motifHclust(align, ...)

### Arguments

`align` | output of matalign, used to generate distance matrix.
`...` | parameter to pass to the hclust.

### Value

An object of hclust.

### Examples

     if(interactive() || Sys.getenv("USER")=="jianhongou"){
      fp <- system.file("extdata", package="motifStack")
      fs <- dir(fp, "pcm$")
      pcms <- importMatrix(file.path(fp, fs), format="pcm")
      align <- matalign(pcms)
      hc <- motifHclust(align, method="average")
     }

[Package motifStack version 1.34.0 Index]