clusterMotifs {motifStack} | R Documentation

## cluster motifs

### Description

A help function to do matalign and motifHclust in one function.

### Usage

    clusterMotifs(motifs, ...)

### Arguments

`motifs` | A list of pcms of pfms.
`...` | parameter to be passed to matalign function.

### 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")
      hc <- clusterMotifs(pcms)
     }

[Package motifStack version 1.36.1 Index]