Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: colocboost
Type: Package
Date: 2025-04-22
Title: Multi-Context Colocalization Analysis for QTL and GWAS Studies
Version: 0.5.0
Version: 1.0.0
Authors@R: c(
person(given = "Xuewei", family = "Cao", email = "xc2270@cumc.columbia.edu", role = c("cre", "aut", "cph")),
person(given = "Haochen", family = "Sun", email = "hs3393@cumc.columbia.edu", role = c("aut", "cph")),
Expand Down
5 changes: 3 additions & 2 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@
#' @format ## `Ambiguous_Colocalization`
#' A list with 2 elements
#' \describe{
#' \item{ColocBoost_Results}{A `colocboost` output objective}
#' \item{SuSiE_Results}{Two `susie` output objective for eQTL and GWAS}
#' \item{ColocBoost_Results}{A `colocboost` output object}
#' \item{SuSiE_Results}{Two `susie` output object for eQTL and GWAS}
#' \item{COLOC_V5_Results}{A `coloc` output object}
#' }
#' @source The Ambiguous_Colocalization dataset contains a real data example from one of our real data applications,
#' which shows an ambiguous colocalization between eQTL and GWAS.
Expand Down
Binary file modified data/Ambiguous_Colocalization.rda
Binary file not shown.
5 changes: 3 additions & 2 deletions man/Ambiguous_Colocalization.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions vignettes/Ambiguous_Colocalization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ This dataset is structured as a list with two main components:

2. `SuSiE_Results`: Contains fine-mapping results from the SuSiE algorithm for both eQTL and GWAS data separately.

3. `COLOC_V5_Results`: Contains colocalization results from COLOC, which is directly from two `susie` output objects.


# 2. ColocBoost results

Expand Down Expand Up @@ -111,6 +113,26 @@ susieR::susie_plot(susie_eQTL, y = "PIP", pos = 2000:n_variables)
susieR::susie_plot(susie_GWAS, y = "PIP", pos = 2000:n_variables)
```



We also show the colocalization results from COLOC method. For this ambiguous colocalization, COLOC shows

- A high posterior probability of colocalization (PP.H4) of 0.85.
- Two hits are corresponding to variants with highest PIP in SuSiE for eQTL and GWAS, separately.

Note that SuSiE-based COLOC has a relatively high confidence of this as a colocalization event because each of SuSiE 95% CS as shown above cover substantially larger region
(containing more variants) compared to the trait-specific effects identified by ColocBoost, although at a lower purity (SuSiE purity = 0.56 and 0.64, ColocBoost uCoS purity = 0.67 and 0.70).
With larger overlap between the SuSiE 95% CS across traits, the high probability of colocalization is expected. But for this particular data application without knowing the ground truth,
it is difficult to determine which method is more precise.

```{r coloc-results}
# To run COLOC, please use the following command:
# res <- coloc::coloc.susie(susie_eQTL, susie_GWAS)
res <- Ambiguous_Colocalization$COLOC_V5_Results
res$summary
```


# 3. Get the ambiguous colocalization results and summary

ColocBoost provides a function to get the ambiguous colocalization results and summary from trait-specifc effects, by considering the correlation of variants between the two uCoS.
Expand Down