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
When running continuous hogwash, I occasionally get the following error when printing the result.
Error in if (nrow(snp_in_gene) == 1) { : argument is of length zero
Calls: hogwash ... select_test_type -> run_continuous -> plot_continuous_results
Execution halted
See the attached screenshot
To fix this error, we (Emily Maggioncalda) have made the following edit to the hogwash source code:
wget https://github.com/katiesaund/hogwash/tarball/master -O hogwash_update.tar.gz
tar -xvzf hogwash_update.tar.gz
cd katiesaund-hogwash-c4d1cc4/R
nano +1153 plotting.R
# Updated code chunk should read
# cluster_col_log <- TRUE
# if(!is.null(snp_in_gene)){
# if (nrow(snp_in_gene) == 1) {
# # Avoid clustering issue if only one group in heatmap
# cluster_col_log <- FALSE
# }
# }
cd ../..
R CMD build katiesaund-hogwash-c4d1cc4
R CMD INSTALL hogwash_1.2.6.tar.gz
The text was updated successfully, but these errors were encountered:
When running continuous hogwash, I occasionally get the following error when printing the result.
See the attached screenshot
To fix this error, we (Emily Maggioncalda) have made the following edit to the hogwash source code:
The text was updated successfully, but these errors were encountered: