-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getNMF #692
Comments
Might also make sense to have a method to pick those elements, or just return a list: Now we can pick loadings with: If getNMF (and addNMF into reducedDim) would instead return a list, we could do something like: Or if we have a specific method we could do: Do we have a special reason to stick to using attributes? |
The value in We use In As Adding However, the function might make the |
These are essential questions. IMO what primarily matters is that users can save time and have clear, understandable workflows but this has to be balanced with the development & maintenance effort. I think it is also a bit case-by-case, and this case is particularly non-standard so perhaps non-standard solutions are needed as long as there is no better way? At the minimum the documentation (manpage examples & OMA) should be developed so that the key use cases are well covered and easy to find. I bumped into this while trying to do something with loadings, and it took quite some time to figure out how to find all relevant elements and make sure they represent what I expected, even though I'm more familiar with the system than an average user. |
Yes, it should be improved. I think there are more advantages than disadvantages in |
Currently getNMF returns the samples x components score matrix for NMF, with attributes.
If the output must be in this format (a single matrix, rather than a named list including all attributes), then the manpage examples could show for clarity's sake how to get the other elements out from getNMF output. The "attributes" command may not be very familiar for an average R user:
The text was updated successfully, but these errors were encountered: