motifHclust | R Documentation |
functions to perfom clustering of output of matalign
motifHclust(align, ...)
align |
output of matalign, used to generate distance matrix. |
... |
parameter to pass to the hclust. |
An object of hclust.
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")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.