Skip to content

Commit 656d7f6

Browse files
authored
Merge pull request #87 from xueweic/main
Add animation
2 parents 2066a12 + 4c8a0fc commit 656d7f6

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

_pkgdown.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ articles:
3636
desc: "Advanced topics and special cases in colocalization and fine-mapping analysis."
3737
contents:
3838
- Partial_Overlap_Variants
39+
- ColocBoost_Update
3940
- ColocBoost_Wrapper_Pipeline
4041
- LD_Free_Colocalization
4142
- Ambiguous_Colocalization

man/figures/ColocBoost_update.gif

472 KB
Loading

vignettes/ColocBoost_Update.Rmd

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: "Animation Example: Proximity Gradient Boosting Algorithm"
3+
output: rmarkdown::html_vignette
4+
vignette: >
5+
%\VignetteIndexEntry{Animation Example: Proximity Gradient Boosting Algorithm}
6+
%\VignetteEngine{knitr::rmarkdown}
7+
%\VignetteEncoding{UTF-8}
8+
---
9+
10+
```{r, include = FALSE}
11+
knitr::opts_chunk$set(
12+
collapse = TRUE,
13+
comment = "#>"
14+
)
15+
```
16+
17+
18+
19+
This vignette visualizes the iterative process of proximity gradient boosting proposed in ColocBoost from an extensive simulation example.
20+
21+
22+
- **Red point**: the standard gradient boosting update for only the best single-effect variant $j_k^*$ in each iteration.
23+
- **Blue points**: the proximity gradient boosting update, where it probabilistically incorporates the LD proxies of $j_k^*$ by applying a convex relaxation to the gradient.
24+
25+
The animation below demonstrates how ColocBoost iteratively updates across multiple rounds.
26+
Observe how the blue points (proxies) distribute around the selected best update, showing the algorithm's ability to capture LD structure during optimization.
27+
28+
```{r, out.width="80%"}
29+
knitr::include_graphics("../man/figures/ColocBoost_update.gif")
30+
```
31+
32+
33+
See more details in the [ColocBoost Manuscript](https://www.medrxiv.org/content/10.1101/2025.04.17.25326042v1) and the [GitHub repository](https://github.com/StatFunGen/colocboost).

0 commit comments

Comments
 (0)