Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 3d894ee

Browse files
committed
Merge branch 'master' of github.com:stemangiola/HCAquery
2 parents 30a2939 + 56a635d commit 3d894ee

21 files changed

+1565
-1076
lines changed

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
^.*\.Rproj$
22
^\.Rproj\.user$
33
^dev
4+
^\.github$
5+
^LICENSE\.md$
6+
^README\.Rmd$

.github/workflows/check-bioc.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,36 +81,40 @@ jobs:
8181
## R is already included in the Bioconductor docker images
8282
- name: Setup R from r-lib
8383
if: runner.os != 'Linux'
84-
uses: r-lib/actions/setup-r@master
84+
uses: r-lib/actions/setup-r@v2
8585
with:
8686
r-version: ${{ matrix.config.r }}
8787

8888
## pandoc is already included in the Bioconductor docker images
8989
- name: Setup pandoc from r-lib
9090
if: runner.os != 'Linux'
91-
uses: r-lib/actions/setup-pandoc@master
91+
uses: r-lib/actions/setup-pandoc@v2
9292

9393
- name: Query dependencies
9494
run: |
9595
install.packages('remotes')
9696
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
9797
shell: Rscript {0}
98+
99+
- name: Cache assay data
100+
uses: actions/cache@v3
101+
with:
102+
key: ${{ runner.os }}-hca-harmonised
103+
path: ~/.cache/hca_harmonised
98104

99105
- name: Cache R packages
100106
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os != 'Linux'"
101107
uses: actions/cache@v2
102108
with:
103109
path: ${{ env.R_LIBS_USER }}
104-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-${{ hashFiles('.github/depends.Rds') }}
105-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-
110+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2
106111

107112
- name: Cache R packages on Linux
108113
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
109114
uses: actions/cache@v2
110115
with:
111116
path: /home/runner/work/_temp/Library
112-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-${{ hashFiles('.github/depends.Rds') }}
113-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-
117+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2
114118

115119
- name: Install Linux system dependencies
116120
if: runner.os == 'Linux'
@@ -149,7 +153,7 @@ jobs:
149153
- name: Install BiocManager
150154
run: |
151155
message(paste('****', Sys.time(), 'installing BiocManager ****'))
152-
remotes::install_cran("BiocManager")
156+
remotes::install_github("Bioconductor/BiocManager")
153157
shell: Rscript {0}
154158

155159
- name: Set BiocVersion
@@ -270,7 +274,7 @@ jobs:
270274

271275
- name: Upload check results
272276
if: failure()
273-
uses: actions/upload-artifact@master
277+
uses: actions/upload-artifact@v2
274278
with:
275279
name: ${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-results
276280
path: check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ HCAquery.Rproj
99
split_files.makeflow
1010
._*
1111
.DS_Store
12+
inst/doc

DESCRIPTION

Lines changed: 44 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,67 @@ Version: 0.1.0
55
Authors@R: c(person("Stefano", "Mangiola", email = "[email protected]",
66
role = c("aut", "cre"))
77
)
8-
Description: Queries the Human Cell Atlas.
8+
Description: Provides access to a copy of the Human Cell Atlas, but with
9+
harmonised metadata. This allows for uniform querying across numerous
10+
datasets within the Atlas using common fields such as cell type, tissue
11+
type, and patient ethnicity. Usage involves first querying the metadata
12+
table for cells of interest, and then downloading the corresponding cells
13+
into a SingleCellExperiment object.
914
License: GPL-3
1015
Depends:
11-
R (>= 4.1.0)
16+
R (>= 4.2.0)
1217
Imports:
13-
dplyr,
14-
SummarizedExperiment,
15-
SingleCellExperiment,
16-
tidySingleCellExperiment,
17-
purrr,
18-
zellkonverter,
19-
BiocGenerics,
20-
glue,
21-
HDF5Array,
22-
DBI,
23-
RSQLite,
24-
dbplyr
18+
dplyr,
19+
SummarizedExperiment,
20+
SingleCellExperiment,
21+
purrr (>= 1.0.0),
22+
BiocGenerics,
23+
glue,
24+
HDF5Array,
25+
DBI,
26+
RSQLite,
27+
rappdirs,
28+
httr,
29+
cli,
30+
assertthat,
31+
SeuratObject,
32+
Seurat,
33+
methods,
34+
rlang,
35+
stats,
36+
RPostgres
2537
Suggests:
2638
here,
2739
stringr,
28-
Seurat,
2940
tidyseurat,
41+
zellkonverter,
3042
scMerge,
3143
DelayedArray,
3244
openssl,
3345
cellxgenedp,
34-
SingleCellExperiment,
3546
celldex,
3647
SingleR,
3748
tools,
3849
rmarkdown,
39-
SeuratObject
40-
VignetteBuilder:
41-
knitr
42-
RdMacros:
43-
lifecycle
50+
knitr,
51+
testthat,
52+
dbplyr (>= 2.3.0)
4453
Biarch: true
45-
biocViews: AssayDomain, Infrastructure, RNASeq, DifferentialExpression, GeneExpression, Normalization, Clustering, QualityControl, Sequencing, Transcription, Transcriptomics
54+
biocViews:
55+
AssayDomain,
56+
Infrastructure,
57+
RNASeq,
58+
DifferentialExpression,
59+
GeneExpression,
60+
Normalization,
61+
Clustering,
62+
QualityControl,
63+
Sequencing,
64+
Transcription,
65+
Transcriptomics
4666
Encoding: UTF-8
47-
LazyData: true
48-
RoxygenNote: 7.2.1
67+
RoxygenNote: 7.2.3
4968
LazyDataCompression: xz
5069
URL: https://github.com/stemangiola/HCAquery
5170
BugReports: https://github.com/stemangiola/HCAquery/issues
71+
VignetteBuilder: knitr

0 commit comments

Comments
 (0)