Skip to content

Add columns to _not_ adjust for in data_adjust() #648

Description

@mattansb

In limma::removeBatchEffect() there is an option to add columns that should be included in the adjusting model, but not adjusted for.

  • This requires that all variables are are adjusted for are centered (continuous with center(); factors with contr.sum).
  • Then the coefficients for the non-adjusted variables are set to 0 before adjusting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions