clean_y: Adjusts expression data for surrogate variables.

Description Usage Arguments Value

View source: R/diff_utils.R

Description

Factors out effect of surrogate variables discovered during surrogate variable analysis.

Usage

1
clean_y(y, mod, mod.clean)

Arguments

y

Expression data of eset.

mod

Full model matrix supplied to sva.

svs

Surrogate variables returned by sva (svobj$sv).

Value

Expression data with effects of svs removed.


hms-dbmi/drugseqr documentation built on Aug. 8, 2020, 2:03 a.m.