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

The OR value #27

Open
chaolv123 opened this issue Oct 15, 2024 · 1 comment
Open

The OR value #27

chaolv123 opened this issue Oct 15, 2024 · 1 comment

Comments

@chaolv123
Copy link

In article"Functional Genomic Landscape of Acute Myeloid Leukemia", Fig 1. The plot involved OR value, I wonder How can they get the OR value using DISCOVER

@scanisius
Copy link
Member

I cannot tell you how they obtained the OR value in that paper. It is not a feature that the DISCOVER package provides. As a possible alternative, if you want some measure of effect size, you could compute the observed over expected ratio. You can do so with the following code.

expected <- events$bg[gene1, ] %*% events$bg[gene2, ]
observed <- events$events[gene1, ] %*% events$events[gene2, ]
observed / expected

where events is a fitted discover.matrix object. The ratio will be < 1 for mutual exclusivity and > 1 for co-occurrence.

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