sva.id: Surrogate Variable Analysis

Description Usage Arguments Value

Description

Surrogate Variable Analysis function used internatlly by eig_norm1 and eig_norm2 Here we incorporate the model matrix from EigenMS normalization to find the significant trends in the matrix of residuals.

Usage

1
sva.id(dat, n.u.treatment, lm.fm, B = 500, sv.sig = 0.05, seed = NULL)

Arguments

dat

number of peptides/genes x number of samples matrix of expression data with no missing values

n.u.treatment

number of treatment groups

lm.fm

formular for treatment to be use on the right side of the call to stats::lm() as generated by makeLMFormula()

B

The number of null iterations to perform

sv.sig

The significance cutoff for the surrogate variables

seed

A seed value for reproducible results

Value

A data structure with the following values:

n.sv

Number of significant surrogate variables

p.sv

Significance for the returned surrogate variables


yuliya8k/MultiMat documentation built on May 18, 2019, 5:50 a.m.