Skip to content

Commit 9371845

Browse files
authored
Merge pull request #226 from satijalab/fix-runalra
Update GetAssayData call in RunALRA.Seurat to use layer param
2 parents 090e948 + 24c6534 commit 9371845

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/alra.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ RunALRA.Seurat <- function(
200200
k <- alra.previous[["k"]]
201201
message("Using previously computed value of k")
202202
}
203-
data.used <- GetAssayData(object = object, assay = assay, slot = slot)[genes.use,]
203+
data.used <- GetAssayData(object = object, assay = assay, layer = slot)[genes.use,]
204204
# Choose k with heuristics if k is not given
205205
if (is.null(x = k)) {
206206
# set K based on data dimension

0 commit comments

Comments
 (0)