Error running hierClust
Entering edit mode
sekhwal • 0
Last seen 12 weeks ago
United States

Hi, I am trying to make a cluster of snippy's matrix results using hierClust. Please suggest how to run the function.


cluster_data <- read.csv(file = "/analysis/core-try.csv", header=TRUE, row.names=1)
d <- dist(cluster_data)
h <- hierClust(d)

error: Error in hierClust(d) : could not find function "hierClust"

hierClust R SNPs clustering • 123 views
Entering edit mode
Last seen 11 hours ago
United States

Any time R tells you that a function can't be found (and the function is provided by a particular package), it's because you haven't loaded the requisite package. In this case it's the momr package that you have neglected to load.

Also, please note that this support site is meant to provide support for Bioconductor packages, and neither the stats package nor momr are Bioconductor packages. You could ask about those packages on R-help (, or maybe

Login before adding your answer.

Traffic: 348 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6