Skip to content

Add a secondBaselineGroup field to DifferentialExpressionAnalysisResultSet and backfill baselines for interactions #1122

@arteymix

Description

@arteymix

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions