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

Gene expression filter for MOG #202

Open
vksriharsha opened this issue Dec 9, 2021 · 0 comments
Open

Gene expression filter for MOG #202

vksriharsha opened this issue Dec 9, 2021 · 0 comments

Comments

@vksriharsha
Copy link
Collaborator

We want to add an entirely new feature where users can filter rows in the table based on expression data.

The functionality should be similar to this R method (Please read the “Details” section) https://rdrr.io/bioc/edgeR/man/filterByExpr.html

Gist of the functionality:

Step 1: Get three parameters from the user :
Min expression level (min.count) : Double
Min total expression count (min.total.count) : Double (Optional parameter)
Number of samples having minimum expression (n) : Integer

Step 2: For each gene, check if atleast n number of included samples have expression level > min.count If yes, then the gene should be retained, else, it should be filtered out.
Step 3: Default value of n should be Ceil( Total number of included samples * 0.1)
Step 4: If the user also provides the optional parameter min.total.count, then among the genes obtained after the filtering in the above steps, check whether the total expression count across all the included samples is greater than min.total.count. If yes, then retain the gene, else filter it out.
Step 5: If the user does not provide min.total.count, then do not perform the additional filtering in step 4.

Success Criteria: The rows in the feature metadata table must be properly filtered based on the expression levels provided. The filtering must work even when the user includes only a subset of the samples.

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