clustree icon indicating copy to clipboard operation
clustree copied to clipboard

Error if clustree not loaded

Open lazappi opened this issue 7 years ago • 3 comments

data("iris_clusts")
clustree::clustree(iris_clusts, prefix = "K")
Error in get(as.character(FUN), mode = "function", envir = envir) : 
  object 'guide_edge_colourbar' of mode 'function' was not found

lazappi avatar May 21 '18 05:05 lazappi

Does this mean we have to library the clustree ?

altairwei avatar Jul 07 '21 07:07 altairwei

Yes, sorry if that wasn't clear. Because of how {ggplot2} works some things require the package to be loaded which affects {clustree}. See the linked issue for more details.

lazappi avatar Jul 07 '21 07:07 lazappi

you should library(clustree), not clustree::

agctu-zhang avatar Apr 04 '23 02:04 agctu-zhang