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

How are the onehot files generated? #5

Open
YOU-k opened this issue Jul 8, 2024 · 1 comment
Open

How are the onehot files generated? #5

YOU-k opened this issue Jul 8, 2024 · 1 comment

Comments

@YOU-k
Copy link

YOU-k commented Jul 8, 2024

Thanks for the nice work! we find this interesting. But when trying to follow the models, we find that:
image
There is one file loaded as data_gi_onehot_all. The dimension of it is cell x genes. I am not sure how is this matrix generated? Does the 1 means that specific gene is perturbed in a cell?

For the other file loaded as data_gi_onehot. The dimension of it is number of perturbed genes x number of all genes. Same, I find that when there are only 2 genes perturbed, there could be more than two 1 in that row, which indicates that this is not a matrix that tells the relationship between perturbed genes and all the genes used. So, how should I generate this matrix?
Cheers,
Yue

@cyclopenta
Copy link
Collaborator

Hi Yue, the new version of PerturbNet has been published on PyPI. You can check the tutorial notebooks to help solve your problems. The necessary data has been uploaded to Hugging Face.

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