We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc6a3df commit 19fd978Copy full SHA for 19fd978
worker/pipeline_worker.R
@@ -613,7 +613,12 @@ compile_results <- function(gwas_info) {
613
data.table::rbindlist(fill = TRUE)
614
615
if (nrow(coloc_clustered_results) > 0) {
616
+ worker_unique_study_ids <- study_extractions$unique_study_id
617
+ components_with_worker <- coloc_clustered_results |>
618
+ dplyr::filter(unique_study_id %in% worker_unique_study_ids) |>
619
+ dplyr::distinct(ld_block, component)
620
coloc_clustered_results <- coloc_clustered_results |>
621
+ dplyr::inner_join(components_with_worker, by = c("ld_block", "component")) |>
622
dplyr::group_by(ld_block, component) |>
623
dplyr::mutate(coloc_group_id = dplyr::cur_group_id()) |>
624
dplyr::ungroup() |>
0 commit comments