Skip to content

Commit ce534c6

Browse files
bschilderclaude
andcommitted
Revert epigenomics vignette to eval=FALSE: remote bigwig access too fragile for CI
These chunks download large bigwig files from UCSC and fail intermittently on GHA runners. Keep as reference code blocks with explanatory notes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d71731e commit ce534c6

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

vignettes/cell_type_specific_epigenomics.Rmd

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ vignette: >
1313
```{r setup, echo=FALSE, include=FALSE}
1414
pkg <- read.dcf("../DESCRIPTION", fields = "Package")[1]
1515
library(pkg, character.only = TRUE)
16-
has_internet <- tryCatch(
17-
!is.null(curl::nslookup("github.com", error = FALSE)),
18-
error = function(e) FALSE
19-
)
20-
## Epigenomic data functions require remote bigwig access (not available on Windows)
21-
can_run <- has_internet && .Platform$OS.type != "windows"
2216
```
2317

2418
```R
@@ -34,7 +28,10 @@ library(`r pkg`)
3428
3529
### Import data
3630

37-
```{r nott2019_import, eval=can_run}
31+
*Note:* These functions download remote bigwig files from UCSC, which
32+
requires network access and may take several minutes.
33+
34+
```{r nott2019_import, eval=FALSE}
3835
superenhancers <- echoannot::get_NOTT2019_superenhancer_interactome()
3936
enhancers_promoters <- echoannot::NOTT2019_get_promoter_interactome_data()
4037
peaks <- echoannot::NOTT2019_get_epigenomic_peaks()
@@ -43,15 +40,15 @@ peaks <- echoannot::NOTT2019_get_epigenomic_peaks()
4340

4441
### Plot
4542

46-
```{r nott2019_plot, eval=can_run}
43+
```{r nott2019_plot, eval=FALSE}
4744
dat <- echodata::BST1
4845
histo_out <- echoannot::NOTT2019_epigenomic_histograms(dat = dat)
4946
```
5047

5148
In addition to the plot object,
5249
tables of both raw read ranges and called peaks are included in the output list.
5350

54-
```{r nott2019_tables, eval=can_run}
51+
```{r nott2019_tables, eval=FALSE}
5552
knitr::kable(head(histo_out$data$raw))
5653
knitr::kable(head(histo_out$data$peaks))
5754
```
@@ -60,13 +57,13 @@ knitr::kable(head(histo_out$data$peaks))
6057
## Corces2020
6158

6259
`echoannot` also includes data generated by
63-
["Corces2019"](https://doi.org/10.1038/s41588-020-00721-x):
60+
["Corces2020"](https://doi.org/10.1038/s41588-020-00721-x):
6461

6562
> Corces, M.R., Shcherbina, A., Kundu, S. et al. Single-cell epigenomic analyses implicate candidate causal variants at inherited risk loci for Alzheimer's and Parkinson's diseases. Nat Genet 52, 1158-1168 (2020). https://doi.org/10.1038/s41588-020-00721-x
6663
6764
### Import data
6865

69-
```{r corces2020_import, eval=can_run}
66+
```{r corces2020_import, eval=FALSE}
7067
bulkATACseq_peaks <- echoannot::get_CORCES2020_bulkATACseq_peaks()
7168
cicero_coaccessibility <- echoannot::get_CORCES2020_cicero_coaccessibility()
7269
hichip_fithichip_loop_calls <- echoannot::get_CORCES2020_hichip_fithichip_loop_calls()
@@ -76,9 +73,6 @@ scATACseq_peaks <- echoannot::get_CORCES2020_scATACseq_peaks()
7673

7774
### Plot
7875

79-
*Note:* This chunk is kept as `eval=FALSE` because it depends on
80-
the `dat` variable from a prior analysis and `ggbio::autoplot`.
81-
8276
```{r corces2020_plot, eval=FALSE}
8377
peak_dat <- echoannot::granges_overlap(
8478
dat1 = dat,

0 commit comments

Comments
 (0)