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

Add informative metric when computing pathway scores #3

Open
irenemaring opened this issue Oct 18, 2022 · 0 comments
Open

Add informative metric when computing pathway scores #3

irenemaring opened this issue Oct 18, 2022 · 0 comments

Comments

@irenemaring
Copy link

When using prepareSummarizedExperiment there is a warning informing of the number of genes missing in the input that will be set to 0 for the model. However computeGeneSetScores always produces an output no matter how many genes in a gene set are set to 0.
It would be interesting to create a metric(s) in the output data accounting for this (e.g. a simple proportion of 0 genes or a ponderated metric if the misssing genes are the ones with higher weights/importance in the gene set, which could drive to misleading conclusions about the pathway activation). With it the user can get an idea of the "confidence" of the score computation.

This is an example of the current warning of prepareSummarizedExperiment
out <- prepareSummarizedExperiment(input_SE, "gtex_gokegg")

Warning message:
In prepareSummarizedExperiment(input_SE, "gtex_gokegg") :
125 genes present in the model not found in input data. The expression of all samples will be set to 0

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