kaizhang / SnapATAC2

Single-cell epigenomics analysis tools
https://kzhang.org/SnapATAC2/
197 stars 20 forks source link

hard to understand about the description in filter features. #290

Open beyondpie opened 3 months ago

beyondpie commented 3 months ago

Hi Kai,

Here is the description of filter features:

If inplace = False, return a boolean index mask that does filtering, where True means that the feature is kept, False means the feature is removed. Otherwise, store this index mask directly to .var['selected'].

What's the meaning of "Otherwise" here? inplace should only be True or False, right?

Thanks! Songpeng

kaizhang commented 3 months ago

"otherwise" means "if inplace=True"