Closed denvercal1234GitHub closed 3 months ago
Yes scale.factor should be a vector of equal length to the number of cells. If scale.factor is NULL - performNormalization()
will calculate a normalization by cell and gene set.
Warning should be fixed now in the master branch.
devtools::install_github("ncborcherding/escape")
Nick
Hi, Nick,
I hope all is well and your daughter is recovering well soon.
When you have a moment, would you mind helping me understand when one should use the
scale.factor
argument inescape::performNormalization
?And, according to https://github.com/ncborcherding/escape/issues/86, this argument
scale.factor
can be set toscale.factor = SeuratObj$nFeature_RNA
and not a fixed value; however, settingscale.factor
so will throw an error associated with theWarning: Layer counts isn't present in the assay object; returning NULL
mentioned at the end of https://github.com/ncborcherding/escape/issues/107.Thank you again for your help!