Closed mousepixels closed 5 months ago
Love your tool!
I am coming across one issue with celltypist.train:
celltypist.train
You check if a cell is normed to 10k counts with (np.abs(np.expm1(indata[0]).sum()-10000) > 1) But, if you filter out variable genes, for example, this will always be false. And filtering out features is a recommended step in your tutorials: https://colab.research.google.com/github/Teichlab/celltypist/blob/main/docs/notebook/celltypist_tutorial_cv.ipynb#scrollTo=bearing-product
(np.abs(np.expm1(indata[0]).sum()-10000) > 1)
Thank you!
nvm i found the check_expression argument. Carry on!
check_expression
Love your tool!
I am coming across one issue with
celltypist.train
:You check if a cell is normed to 10k counts with
(np.abs(np.expm1(indata[0]).sum()-10000) > 1)
But, if you filter out variable genes, for example, this will always be false. And filtering out features is a recommended step in your tutorials: https://colab.research.google.com/github/Teichlab/celltypist/blob/main/docs/notebook/celltypist_tutorial_cv.ipynb#scrollTo=bearing-productThank you!