Skip to content

Commit

Permalink
Merge pull request #171 from moi-taiga/master
Browse files Browse the repository at this point in the history
Update utils.R, make_cell_attr()
  • Loading branch information
saketkc authored Sep 18, 2023
2 parents cbb6c06 + 43613a1 commit 21624fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ make_cell_attr <- function(umi, cell_attr, latent_var, batch_var, latent_var_non
}

# Make sure rownames of cell attributes match cell names in count matrix
if (!identical(rownames(cell_attr), colnames(umi))) {
if (!setequal(rownames(cell_attr), colnames(umi))) {
stop('cell attribute row names must match column names of count matrix')
}

Expand Down

0 comments on commit 21624fb

Please sign in to comment.