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

Commit 45032f4

Browse files
committed
Fix for examples not building
1 parent 97928be commit 45032f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

R/query.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ REMOTE_URL <- "https://harmonised-human-atlas.s3.amazonaws.com/"
2525
#' @returns A SingleCellExperiment object, with one assay for each value in the assays argument
2626
#' @examples
2727
#' meta <- get_metadata() |> head(2)
28-
#' sce <- get_SingleCellExperiment(meta, repository = Sys.getenv("REMOTE_HCA"), cache_directory)
28+
#' sce <- get_SingleCellExperiment(meta)
2929
#'
3030
#' @importFrom dplyr pull filter as_tibble
3131
#' @importFrom tidySingleCellExperiment inner_join
@@ -52,7 +52,7 @@ get_SingleCellExperiment <- function(data,
5252
# Parameter validation
5353
assays %in% names(assay_map) |>
5454
all() |>
55-
assert_that(msg = 'assay must be a character vector containing "raw" and/or "scaled"')
55+
assert_that(msg = 'assays must be a character vector containing "counts" and/or "cpm"')
5656
(!anyDuplicated(assays)) |> assert_that()
5757
inherits(cache_directory, "character") |> assert_that()
5858
is.null(repository) || is.character(repository) |> assert_that()

man/get_SingleCellExperiment.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_metadata.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)