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

Commit a168755

Browse files
authored
Merge pull request #32 from stemangiola/aws
Support remote repository urls
2 parents 2036f24 + bd4d326 commit a168755

File tree

14 files changed

+658
-448
lines changed

14 files changed

+658
-448
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
^dev
44
^\.github$
55
^LICENSE\.md$
6+
^README\.Rmd$

.github/workflows/check-bioc.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,26 @@ jobs:
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'

DESCRIPTION

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,40 @@ 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.
9-
License: GPL (>= 3)
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.
14+
License: GPL-3
1015
Depends:
11-
R (>= 4.1.0)
16+
R (>= 4.2.0)
1217
Imports:
1318
dplyr,
1419
SummarizedExperiment,
1520
SingleCellExperiment,
1621
tidySingleCellExperiment,
17-
purrr,
22+
purrr (>= 1.0.0),
1823
BiocGenerics,
1924
glue,
2025
HDF5Array,
2126
DBI,
2227
RSQLite,
23-
magrittr,
28+
rappdirs,
29+
httr,
30+
cli,
2431
assertthat,
2532
SeuratObject,
2633
Seurat,
2734
methods,
28-
rlang
35+
rlang,
36+
stats
2937
Suggests:
3038
here,
3139
stringr,
3240
tidyseurat,
41+
zellkonverter,
3342
scMerge,
3443
DelayedArray,
3544
openssl,
@@ -38,15 +47,24 @@ Suggests:
3847
SingleR,
3948
tools,
4049
rmarkdown,
41-
zellkonverter,
4250
dbplyr,
4351
knitr,
4452
testthat
4553
Biarch: true
46-
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
4766
Encoding: UTF-8
48-
LazyData: true
49-
RoxygenNote: 7.2.1
67+
RoxygenNote: 7.2.3
5068
LazyDataCompression: xz
5169
URL: https://github.com/stemangiola/HCAquery
5270
BugReports: https://github.com/stemangiola/HCAquery/issues

NAMESPACE

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,37 @@ importFrom(RSQLite,SQLite)
1313
importFrom(Seurat,as.Seurat)
1414
importFrom(SeuratObject,as.sparse)
1515
importFrom(SingleCellExperiment,SingleCellExperiment)
16+
importFrom(SingleCellExperiment,simplifyToSCE)
1617
importFrom(SummarizedExperiment,"assayNames<-")
1718
importFrom(SummarizedExperiment,colData)
1819
importFrom(assertthat,assert_that)
20+
importFrom(assertthat,has_name)
21+
importFrom(cli,cli_abort)
22+
importFrom(cli,cli_alert_info)
23+
importFrom(cli,cli_alert_success)
1924
importFrom(dplyr,as_tibble)
2025
importFrom(dplyr,filter)
26+
importFrom(dplyr,full_join)
2127
importFrom(dplyr,pull)
2228
importFrom(dplyr,tbl)
29+
importFrom(dplyr,tibble)
30+
importFrom(dplyr,transmute)
2331
importFrom(glue,glue)
24-
importFrom(magrittr,equals)
32+
importFrom(httr,GET)
33+
importFrom(httr,modify_url)
34+
importFrom(httr,parse_url)
35+
importFrom(httr,progress)
36+
importFrom(httr,stop_for_status)
37+
importFrom(httr,write_disk)
2538
importFrom(methods,as)
39+
importFrom(purrr,imap)
40+
importFrom(purrr,keep)
2641
importFrom(purrr,map)
2742
importFrom(purrr,map_int)
43+
importFrom(purrr,pmap_chr)
2844
importFrom(purrr,reduce)
29-
importFrom(purrr,when)
45+
importFrom(purrr,transpose)
46+
importFrom(rappdirs,user_cache_dir)
3047
importFrom(rlang,.data)
48+
importFrom(stats,setNames)
3149
importFrom(tidySingleCellExperiment,inner_join)

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# HCAquery 0.1.0
2+
3+
* Added a `NEWS.md` file to track changes to the package.

0 commit comments

Comments
 (0)