Skip to content

Commit

Permalink
Merge pull request #1059 from rl3328/main
Browse files Browse the repository at this point in the history
Debugged the [cis_results_export] for fine_mapping_post_processing.ipynb
  • Loading branch information
gaow authored Sep 16, 2024
2 parents c545320 + 34ddcab commit 39ea612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/post_processing/fine_mapping_post_processing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@
" if(length(conditions) > 0) {\n",
" \n",
" for(condition in conditions) {\n",
" dat_con <- dat_study${'' if multi_gene else [['condition']]}${[['fsusie_summary']] if fsusie else ''}\n",
" if (${\"FALSE\" if multi_gene else \"TRUE\"}) dat_con <- dat_study[[condition]]${[['fsusie_summary']] if fsusie else ''} else dat_con <- dat_study${[['fsusie_summary']] if fsusie else ''}\n",
" if (${\"TRUE\" if gwas else \"FALSE\"}){\n",
" method <- names(dat_study[[condition]])[names(dat_study[[condition]]) != 'rss_data_analyzed'] ## FIXME: this method is not showing in meta (not need if only one method). or we can use `context@method` in meta\n",
" if(length(method) == 1) dat_con <- dat_con[[method]] else stop('more than 1 method, please check.')\n",
Expand Down

0 comments on commit 39ea612

Please sign in to comment.