clusterMotifs: cluster motifs

Description Usage Arguments Value Examples

View source: R/clusterMotifs.R

Description

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

Usage

1
clusterMotifs(motifs, ...)

Arguments

motifs

A list of pcms of pfms.

...

parameter to be passed to matalign function.

Value

An object of hclust.

Examples

1
2
3
4
5
6
 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)
 }

motifStack documentation built on Nov. 8, 2020, 7:43 p.m.