get_sva_mods {crossmeta} | R Documentation

## Get model matrices for surrogate variable analysis

### Description

Used by `add_adjusted` to create model matrix with surrogate variables.

### Usage

    get_sva_mods(pdata)

### Arguments

`eset` | Annotated eset with samples selected during `add_contrasts`.

### Value

List with model matrix(mod) and null model matrix (mod0) used for `sva`.

[Package crossmeta version 1.16.1 Index]