diff options
author | zsloan | 2022-02-02 20:10:00 +0000 |
---|---|---|
committer | zsloan | 2022-02-02 14:15:25 -0600 |
commit | 750bc975650d27e67d1d0b3f6ecaab6582304b44 (patch) | |
tree | c35ef02507b42e89287e0f9761ba46baf3768135 /gn3/computations/wgcna.py | |
parent | 9ac9e6a305e5e96d24a67a7469e3f2ea66fc0c72 (diff) | |
download | genenetwork3-750bc975650d27e67d1d0b3f6ecaab6582304b44.tar.gz |
Fix R/qtl covar bug
The rqtl_wrapper script was throwing an error when only a single
categorical covariate was used. This is apparently because "covars[,name]"
throws an error in such a situation. Using just "covars" in such a
situation prevents the error. So I just added an if statement checking
the number of covariates. There might be some better way to deal with
this in R, but this is the best I could come up with.
Diffstat (limited to 'gn3/computations/wgcna.py')
0 files changed, 0 insertions, 0 deletions