You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all,
For these 2 functions, sc.pp.filter_cells(adata, min_genes=200) sc.pp.filter_genes(adata, min_cells=3)
the authors make inplace=True as default.
Because I want to tranfer the output into an variable, I change these functions to
I would agree the results of sc.pp.filter_genes(..., inplace=False) are not the most intuitive. Instead of returning a filtered anndata, it returns which cells would have been filtered and the stats which were used to make this decision. This is documented under the Returns section for these functions.
Hello all,
For these 2 functions,
sc.pp.filter_cells(adata, min_genes=200)
sc.pp.filter_genes(adata, min_cells=3)
the authors make
inplace=True
as default.Because I want to tranfer the output into an variable, I change these functions to
but it creates errors and the output of a is NoType:
Does anybody know why inplace=False doesn’t work?
Thanks!
Best,
YJ
The text was updated successfully, but these errors were encountered: