clusterMotifs: cluster motifs

View source: R/clusterMotifs.R

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

jianhong/motifStack documentation built on Nov. 5, 2024, 7:47 a.m.