motifHclust: Hierarchical Clustering motifs

Description Usage Arguments Value Examples

View source: R/motifHclust.R

Description

functions to perfom clustering of output of matalign

Usage

1
motifHclust(align, ...)

Arguments

align

output of matalign, used to generate distance matrix.

...

parameter to pass to the hclust.

Value

An object of hclust.

Examples

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

Example output

Loading required package: grid

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