This is a test version of Biostars. For the public version, visit https://www.biostars.org.
A permanent error with densityClust package

Hi,

Whatever I am trying to work with densityClust R package, I am facing this error

> irisClust <- densityClust(irisDist, gaussian=TRUE)
Distance cutoff calculated to 0.2767655 
Error in .Call("_densityClust_gaussianLocalDensity", PACKAGE = "densityClust",  : 
  "_densityClust_gaussianLocalDensity" not available for .Call() for package "densityClust"
Called from: gaussianLocalDensity(distance, attr(distance, "Size"), dc)

Any suggestion please? Thank you

r densityclust

Just tried, works fine with Windows7, R 3.4.2, densityClust_0.3.

library(densityClust)

irisDist <- dist(iris[,1:4])
irisClust <- densityClust(irisDist, gaussian=TRUE)
plot(irisClust) # Inspect clustering attributes to define thresholds
irisClust <- findClusters(irisClust, rho=2, delta=2)
plotMDS(irisClust)
split(iris[,5], irisClust$clusters)

Please provide output of sessionInfo().

Thank you but I have already tried this

> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] Rcpp_0.12.18                densityClust_0.3            SingleCellExperiment_1.2.0  SummarizedExperiment_1.10.1 DelayedArray_0.6.4          BiocParallel_1.14.2        
 [7] matrixStats_0.54.0          Biobase_2.40.0              GenomicRanges_1.32.6        GenomeInfoDb_1.16.0         IRanges_2.14.10             S4Vectors_0.18.3           
[13] BiocGenerics_0.26.0         Seurat_2.3.4                Matrix_1.2-14               cowplot_0.9.2               ggplot2_3.0.0

Please change the title of this thread to something more informative and relevant to the post content.

try to reinstall densityClust package and retry the code

0 answers

No answers yet.

Log in to answer this question.