Just to start the conversation, I was unable to resolve the following bug when attempting to use Tune_ConQuR(). The command I ran was:
result_tuned = Tune_ConQuR(
tax_tab = Sample_Data,
batchid = batchid,
covariates = covar,
batch_ref_pool = c("0", "1", "2", "3"),
logistic_lasso_pool = c(T, F),
quantile_type_pool = c("standard", "lasso", "composite"),
simple_match_pool = c(T, F),
lambda_quantile_pool = c(NA, "2p/n", "2p/logn"),
interplt_pool = c(T, F),
frequencyL = 0,
frequencyU = 1,
cutoff = 0.1,
delta = 0.4999,
taus = seq(0.005, 0.995, by = 0.005),
num_core = 10
)
Error in tab_list[[index_optimal]] :
attempt to select less than one element in get1index
Just to start the conversation, I was unable to resolve the following bug when attempting to use Tune_ConQuR(). The command I ran was:
And after running for over 2 days, it output the following error:
The error appears to come from this line and presumably there's an edge case from line 248 that causes index_optimal to not be a valid positive integer, for whatever reason.