soumelis-lab / ICELLNET

18 stars 8 forks source link

filter.perc for sc.data.cleaning() #15

Closed mdidish closed 10 months ago

mdidish commented 10 months ago

Hello, First of all, thank you for this useful package!

I have a question regarding the filter.perc argument for the sc.data.cleaning() function. In the function description you wrote:

If filter.perc is not NULL and set to 5, the gene expression matrix will be filtered to keep only gene filtering of the genes expressed in less than 5% of the cells at the cluster level. Other genes (filtered) will be set at 0 for the corresponding cluster(s).

Wouldn't it be the opposite? Keep only genes expressed in more than 5% of cells?

Best, Marc

lmassenet-regad commented 10 months ago

Hello Marc, Thank you for the notice, you are absolutely right! I correct this asap. Best, Lucile