wdl2459 / ConQuR

Batch effects removal for microbiome data via conditional quantile regression
GNU General Public License v3.0
27 stars 4 forks source link

The error about "Tune_ConQuR" #10

Closed liukeweiaway closed 1 year ago

liukeweiaway commented 1 year ago

It's a nice work and help me a lot. When i run the code as below. An error has occurred.

result_tuned = Tune_ConQuR(tax_tab=taxa, batchid=batchid, covariates=covar,

  • batch_ref_pool=c("0", "1"),
  • logistic_lasso_pool=F,
  • quantile_type_pool=c("standard", "lasso"), #
  • simple_match_pool=F,
  • lambda_quantile_pool=c(NA, "2p/n"),
  • interplt_pool=F,
  • frequencyL=0,
  • frequencyU=1) Error in strsplit(methodtemp[ii], "") : non-character argument

I don't know what went wrong.