diff --git a/DESCRIPTION b/DESCRIPTION index bf9cc0c..e38608d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: SingleR Title: Reference-Based Single-Cell RNA-Seq Annotation -Version: 2.7.7 +Version: 2.7.8 Date: 2024-10-26 Authors@R: c(person("Dvir", "Aran", email="dvir.aran@ucsf.edu", role=c("aut", "cph")), person("Aaron", "Lun", email="infinite.monkeys.with.keyboards@gmail.com", role=c("ctb", "cre")), diff --git a/R/trainSingleR.R b/R/trainSingleR.R index e71c327..8f0b9dd 100644 --- a/R/trainSingleR.R +++ b/R/trainSingleR.R @@ -338,7 +338,6 @@ trainSingleR <- function( } if (is.null(test.genes)) { - stopifnot(nrow(test) == nrow(ref)) test.genes <- ref.genes <- seq_len(nrow(ref)) } else { intersection <- .create_intersection(test.genes, rownames(ref))