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

Why is zscore calculated for unannotated barcodes? #9

Open
johnchamberlin opened this issue Mar 31, 2023 · 0 comments
Open

Why is zscore calculated for unannotated barcodes? #9

johnchamberlin opened this issue Mar 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@johnchamberlin
Copy link

johnchamberlin commented Mar 31, 2023

I'm trying to use readzs and it is currently generating no significant windows. While investigating, I noticed that most of the zscores correspond to barcodes that are not annotated with any 'ontology', even in the small test data example. Why is this the case? Presumably these correspond mostly to empty droplets or noise.

Here you can see that 58% of barcodes in the test dataset have a 'tissue' annotation.
> data.table::fread("small_test_data_chr21.zscore") %>% summarise(mean(!is.na(tissue))) mean(!is.na(tissue)) 1 0.5862645

For context I am trying to do a comparison between only two cell types within a larger dataset, so in my case the vast majority of cells are not annotated - I only provide metadata for the barcodes I care about. Do the zscores for unannotated barcodes affect the calculation of significant medians in any way?

If I run readzs on the full dataset, there are many significant windows, but I am trying to do pairwise comparisons for each cell type between two experiments, so the 'one vs all' comparison is irrelevant.

thanks,

@johnchamberlin johnchamberlin added the bug Something isn't working label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant