Skip to content
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

retrieving GMM classification of each cell #11

Open
dsb66 opened this issue Oct 29, 2020 · 0 comments
Open

retrieving GMM classification of each cell #11

dsb66 opened this issue Oct 29, 2020 · 0 comments

Comments

@dsb66
Copy link

dsb66 commented Oct 29, 2020

I would like to retrieve the GMM classification of each cell in my dataset to further explore subpopulations. I didn't see that these values are stored in the pop object, but by inspecting the code I think they can be calculated as follows:

C = PA.get_coeff(pop,key)
prediction = pop['samples'][key]['gmm'].predict(C)

Is it correct? If not, could you point me to the right way to calculate the GMM classification of each cell?
Also, is there a way to retrieve the weight of each NMF feature for each gaussian in the GMM?

Thank you very much,
Dario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant