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

Commit 6c30a15

Browse files
committed
Update downsample function to include data for tests
1 parent 5c29a26 commit 6c30a15

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

R/dev.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,17 @@ downsample_metadata <- function(output = "sample_meta.parquet"){
201201

202202
# Find a minimal set of file_id_dbs we need
203203
minimal_file_ids <- rlang::exprs(
204+
# Used by the vignette
204205
.data$ethnicity == "African" &
205206
stringr::str_like(.data$assay, "%10x%") &
206207
.data$tissue == "lung parenchyma" &
207208
stringr::str_like(.data$cell_type, "%CD4%"),
208209
.data$cell_type_harmonised == "nk",
209210
.data$cell_type_harmonised == "cd14 mono",
210-
.data$tissue == "kidney blood vessel"
211+
.data$tissue == "kidney blood vessel",
212+
# Used by tests
213+
.data$file_id_db == "3214d8f8986c1e33a85be5322f2db4a9",
214+
cell_ == "868417_1"
211215
) |>
212216
purrr::map(function(filter){
213217
all_ids <- metadata |>

0 commit comments

Comments
 (0)