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 and thanks for your interest in GeneNMF.
When performing NMF on a dataset, we aim at reducing the dimensionality of the count matrix from several hundreds/thousand variable genes to a few 'k' dimensions, roughly corresponding to gene programs. The parameter range for k should correspond to the expected number of gene programs in individual datasets; NMF decomposition will be performed for each value in the range.
As with most parameters, there is not a single answer on the best value to assign. I would suggest to experiment with different ranges, corresponding to different granularity levels for the matrix factorization. In the example code snippet, we used k=4:9 (a shortcut for all integers between 4 and 9) because we could reasonably expect this range of major immune cell types in individual samples. One could of course select a different range to attempt capturing different levels of granularity.
I hope this is helpful.
-m
Hello, Thank you for providing such an excellent package.
In the GeneNMF demo, the code snippet:
could you please explain why the parameter k was set to range from 4 to 9?
Thank you!
The text was updated successfully, but these errors were encountered: