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

Metafile_error if unique cells = unique cell_types #197

Open
Leonhard2000 opened this issue Jun 27, 2024 · 0 comments
Open

Metafile_error if unique cells = unique cell_types #197

Leonhard2000 opened this issue Jun 27, 2024 · 0 comments

Comments

@Leonhard2000
Copy link

method_preprocessors.py checks the metafile

Problem:
If the 2 columns are not labeled "cell" & "cell_type" it checks if unique cells are greater than unique cell_types:
if num_unique_vals_in_first_col > num_unique_vals_in_second_col:

Recommendation: equal or greater sign
if num_unique_vals_in_first_col >= num_unique_vals_in_second_col:

Background:
This is a problem for bulk data where 1 cell_type has only 1 sample.

Solution:
Name metafile columns "cell" and "cell_type" and it works because then it is not checked if unique cell count is greater.

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