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

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