Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperGrud authored Sep 25, 2023
1 parent fbc7798 commit cc2e78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/label_dead.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ label_dead <- function(counts, metrics, qc.labels, cor.threshold = NULL, train =
if (verbose) { message("Running feature selection and dimensional reduction") }
# Normalize and log transform counts
counts <- counts[ , colnames(counts) %in% metrics$barcode]
counts <- counts[, match(metrics$barcode, colnames(counts)),]
counts <- counts[, match(metrics$barcode, colnames(counts))]
nonzero <- counts[ Matrix::rowSums(counts) > 0,]
sf <- 10000 / Matrix::colSums(nonzero)
norm_transform <- Matrix::t(Matrix::t(nonzero) * sf)
Expand Down

0 comments on commit cc2e78e

Please sign in to comment.