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

Include count of number of genes detected #14

Closed
dosumis opened this issue Sep 6, 2024 · 3 comments
Closed

Include count of number of genes detected #14

dosumis opened this issue Sep 6, 2024 · 3 comments
Assignees

Comments

@dosumis
Copy link
Member

dosumis commented Sep 6, 2024

Not sure whether this can be done easily here or downstream using cypher. If latter, this query works:

MATCH (gene:Gene)<-[:expresses]-(clu:Cluster)-[:has_source]->(ds:DataSet)
WITH ds, apoc.coll.toSet(COLLECT(gene)) AS genes 
RETURN ds.label as dataset, size(genes) AS depth order by depth DESC

Think high priority to get this in and to expose through API. Users need a way to choose the highest seq depth dataset available for their cell type as it makes a big difference to the results.

@Clare72
Copy link
Contributor

Clare72 commented Sep 10, 2024

Yes, can be done here. Do we want number of genes for any extent (pre-filtering) or just extent >0.2 (post-filtering). If post-filtering, it might be easier to do in cypher (but impossible to do in cypher for pre-filtering numbers).

@dosumis
Copy link
Member Author

dosumis commented Sep 10, 2024

Do we want number of genes for any extent (pre-filtering) or just extent >0.2 (post-filtering).

Good point. I think post filtering is what's needed to inform queries, but might be useful to have both.

@Clare72
Copy link
Contributor

Clare72 commented Sep 19, 2024

gene counts added to clusters and datasets - now in files in e809bf3
need to update vfb-connect to use these - see VirtualFlyBrain/VFB_connect#224

@Clare72 Clare72 closed this as completed Sep 19, 2024
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