motifHclust: Hierarchical Clustering motifs

View source: R/motifHclust.R

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

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