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

Address a potential problem while creating a training dataset with dense array inputs #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

HelloWorldLTY
Copy link

Hi, I notice that the current pre-processing step for creating the dataset assumes input data are formed as sparse data (adata.X is sparse matrix), so if the input data form as dense matrix, there will be an error:

image

Therefore, I modify the current codes which will be suitable for either sparse matrix or dense matrix as inputs.

Moreover, I also notice that gears will compute DEGs for the further work related to metrics, but if there is only one cell under such perturbation, an error will be thrown:

image

Therefore, I also recommend modifying the tutorial to warn such condition. Thanks.

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

Successfully merging this pull request may close these issues.

1 participant