host_gene_microbiome_interactions icon indicating copy to clipboard operation
host_gene_microbiome_interactions copied to clipboard

error in lasso.proj

Open sqwwww opened this issue 2 years ago • 0 comments

I met an error when using lasso scripts in my data. Could you probably know what's wrong with my data from the error message?

lasso.proj.fit <- lasso.proj(x, y_i, multiplecorr.method = "BH", betainit = beta, sigma = sigma, suppress.grouptesting = F) Nodewise regressions will be computed as no argument Z was provided. You can store Z to avoid the majority of the computation next time around. Z only depends on the design matrix x. Error in mapply(score.getZforlambda.unitfunction, i = 1:p, x = list(x = x), : 'zero-length inputs cannot be mixed with those of non-zero length'

sqwwww avatar Sep 26 '23 14:09 sqwwww