host_gene_microbiome_interactions
host_gene_microbiome_interactions copied to clipboard
error in lasso.proj
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'