Closed emmanuelaaaaa closed 3 years ago
Hi Emma,
Thanks for trying out LIGER and sorry about the confusion. It indeed removes the cells, but it outputs the misleading message. We will fix that shortly. When creating the liger object, the cells not expressing any genes and the genes not expressed in any cells actually get filtered out by default. As a result, this step (remove missing observation) in scaleNotCenter usually have no impact on the data. However, if the object is imported from Seurat, which does not such cells, will cause problem in steps such as optimizeALS, then it becomes essential to remove them at the end of scaleNotCenter.
Best, Chao
Hi Chao,
Great, thanks for the clarification!
Best, Emma
Hello,
I think there is a minor bug in the way that scaleNotCenter is reporting the removed cells (rliger_1.0.0):
The output says that 11 genes are removed, when clearly it's removing cells, not genes. Could you please also clarify why this step is done at this stage by default and not when the liger object is created? I use seuratToLiger to import, it removes certain genes that are not expressing in RNA, but it doesn't seem to filter the cells at that stage. Many thanks for putting this great tool out there and for your time in answering this!
Best, Emma