Description
Hi,
I am running the sig_estimate() with the following parameters and I have getting an error. What can I do to resolve this?
SE<-sig_estimate(NMF_matrix,range= 2:6, nrun = 10,use_random = FALSE,
method = "brunet",
seed = 123456,
cores = 1,
keep_nmfObj = FALSE,
save_plots = FALSE,
plot_basename = file.path(tempdir(), "nmf"),
what = "all",verbose = TRUE)
The error that I see is:
Error in cutree(h, k = nbasis(object)) :
elements of 'k' must be between 1 and 3
In addition: Warning message:
In (function (...) : NAs were produced due to errors in some of the runs:
-#3[r=4] -> elements of 'k' must be between 1 and 3 [in call to 'cutree']
-#4[r=5] -> elements of 'k' must be between 1 and 3 [in call to 'cutree']
-#5[r=6] -> elements of 'k' must be between 1 and 3 [in call to 'cutree']