Skip to content

Commit

Permalink
check for feature type
Browse files Browse the repository at this point in the history
  • Loading branch information
NajlaAbassi committed Sep 20, 2024
1 parent a74ceff commit 057fe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/iSEEinit.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ iSEEinit <- function(sce,
if (!is(sce, "SingleCellExperiment"))
stop("Please provide a SingleCellExperiment as input!")

stopifnot(is.character(features), length(features) > 0)
stopifnot(is.character(features), NROW(features) > 0)

stopifnot(isScalarCharacter(reddim_type))

Expand Down

0 comments on commit 057fe68

Please sign in to comment.