You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to test for a continuous variable using PyDESeq, with it being the only variable in my design matrix. I found a suggestion in previous issues to set the contrast in DeseqStats as contrast = ["my_continuous_covariate", "", ""]. However, when I implemented this, I encountered the following error. Could someone help me troubleshoot this issue?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @RunyuXia, are you using the 0.5.0 version of pydeseq2?
If so, contrasts for continuous variables should be directly provided as a numerical contrast vector, with a coefficient (usually 0, 1 or -1) for each column of the design matrix (something like contrast = np.array([0, 0, 1]) where the 1 is at the index of your numerical column).
Hello,
I'm trying to test for a continuous variable using PyDESeq, with it being the only variable in my design matrix. I found a suggestion in previous issues to set the contrast in DeseqStats as contrast = ["my_continuous_covariate", "", ""]. However, when I implemented this, I encountered the following error. Could someone help me troubleshoot this issue?
Thank you!
The text was updated successfully, but these errors were encountered: