blekhmanlab / blekhmanlab/host_gene_microbiome_interactions

error in lasso.proj

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
36
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the lasso.proj.fit call with the reported arguments and inspect the dimensions and contents of x, y_i, beta, and sigma before the mapply failure. Compare those inputs with the function's expected shapes and identify the minimal failing data condition; no repository file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.