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 a secondBaselineGroup field to DifferentialExpressionAnalysisResultSet and backfill baselines for interactions #1122

Open
2 of 3 tasks
arteymix opened this issue May 9, 2024 · 2 comments · May be fixed by #1139
Open
2 of 3 tasks
Milestone

Comments

@arteymix
Copy link
Member

arteymix commented May 9, 2024

In c2f4dfc, we're computing the baselines for interaction terms on-the-fly. This is not ideal as it can be done when the result set is created.

  •  add a secondBaselineGroup field to DifferentialExpressionAnalysisResultSet
  • populate it when we perform the linear model
  • backfill values using baselines of individual factors

I'm not sure we allow interaction of continuous factors, but in that case those inherently lack a baseline.

There might be a case when a continuous factor interacts with a categorical one, in which case we should also fill one of the baselines. @ppavlidis is this possible?

@arteymix arteymix added this to the 1.32.0 milestone May 9, 2024
@arteymix
Copy link
Member Author

arteymix commented May 9, 2024

One added benefit to this is that those result sets will become discoverable. In the REST API, we should plan for a pseudo-property that maps to either first or second baseline group (i.e. a baselineGroups collection).

@arteymix
Copy link
Member Author

arteymix commented Jun 26, 2024

This would be helpful to resolve two issues: #975 and #1164. The alternative is to reuse the logic for computing baselines on-the-fly, but that might be prohibitive in the case of getting all DE results for a given gene.

@arteymix arteymix modified the milestones: 1.31.9, 1.31.10, 1.32.0 Jul 29, 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

Successfully merging a pull request may close this issue.

1 participant