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

AutoGeneS+ Query and Documentation #25

Open
kapoormuskan opened this issue Jan 31, 2024 · 1 comment
Open

AutoGeneS+ Query and Documentation #25

kapoormuskan opened this issue Jan 31, 2024 · 1 comment

Comments

@kapoormuskan
Copy link

Hi Hana,

Do you have a documentation for AutoGeneS+?

I optimized my single cell data of 13 cell types and found highly correlated cell types. I ran the optimization on those cell types thus adding 10 more genes to the signature matrix- I am not sure how to deconvolute the bulk data now. I was trying something along these lines: [ag.AutoGeneS(data=signature_matrix_np), ag.deconvolve(numeric_bulk.T, model='nusvr')] but the ag is picking up vales from the new optimization which is on 2 cell types only..

@lila167
Copy link
Contributor

lila167 commented Feb 8, 2024

Hi,

Thanks for your interest.
The anndata will be stored in the model when you initiate it which in your case has been the latest anndata you trained the model with.
I would suggest to use init function again using your original data. But have in mind that you should feed in your integrated list of genes (concatenating the genes from the data with 13 cell types and the genes from the data with only 2 cell types) to the deconvolution function.
You should use key in deconvolve function for that.

Let me know if this solves the problem.
Best,
Hana

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

2 participants