Skip to content

Commit

Permalink
Merge pull request #4111 from lldelisle/fixPseudoCount
Browse files Browse the repository at this point in the history
Fix pseudo count
  • Loading branch information
timoast authored Feb 22, 2021
2 parents ebb33fd + 3863336 commit 216e794
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/differential_expression.R
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ FindMarkers.Assay <- function(
cells.1 = cells.1,
cells.2 = cells.2,
features = features,
pseudocount.use = pseudocount.use,
mean.fxn = mean.fxn,
fc.name = fc.name,
base = base
Expand Down Expand Up @@ -680,6 +681,7 @@ FindMarkers.DimReduc <- function(
min.cells.group = 3,
pseudocount.use = 1,
mean.fxn = rowMeans,
fc.name = NULL,
...

) {
Expand All @@ -705,7 +707,9 @@ FindMarkers.DimReduc <- function(
object = object,
cells.1 = cells.1,
cells.2 = cells.2,
features = features
features = features,
mean.fxn = mean.fxn,
fc.name = fc.name
)
# subsample cell groups if they are too large
if (max.cells.per.ident < Inf) {
Expand Down

0 comments on commit 216e794

Please sign in to comment.