Skip to content

Commit

Permalink
Minor fix for gdata replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Hoffman committed Jun 25, 2018
1 parent 8cd5736 commit e4ca445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/interaction.R
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ SubsetData <- function(
)
gc(verbose = FALSE)
}
object@ident <- drop.levels(x = object@ident[cells.use])
object@ident <- droplevels(x = object@ident[cells.use])
if (length(x = object@dr) > 0) {
for (i in 1:length(object@dr)) {
if (length(object@dr[[i]]@cell.embeddings) > 0) {
Expand Down

0 comments on commit e4ca445

Please sign in to comment.