-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mean.fxn Decision Not Explained #7107
Comments
Hi @DarioS, I am not part of Seurat team but you can find the mean.fxn function definition in the differential_expression.R script (https://github.com/satijalab/seurat/blob/master/R/differential_expression.R). function(x) {
return(log(x = rowMeans(x = expm1(x = x)) + pseudocount.use, base = base))
} Using counts, it is set to: function(x) {
return(log(x = rowMeans(x = x) + pseudocount.use, base = base))
} And, finally, when using scale.data slot, it is set to the When using an SCT assay, it appears that this function is not set correctly when using data from the Christophe |
I have found a bug in this. If:
gives:
mean.fxn is set to:
even if This can happen if you have run |
Hi @DarioS and @lucygarner, I have just pushed 992c1a9 to develop branch which should fix this and related issues. Can you pull from the develop branch and re-open this issue if you are still facing issues? devtools::install_github("satijalab/seurat", ref="develop") |
Which slot relates to which automatic function choice? Be explicit, perhaps in Details section.
The text was updated successfully, but these errors were encountered: