custom_peer: Run PEER

Description Usage Arguments Value

View source: R/custom_peer.R

Description

Custom PEER function that generates factor coefficients and residuals.

Usage

1
custom_peer(expr, n.factors = NULL, covars = NULL)

Arguments

expr

A gene expression matrix with dimensions N x g.

n.factors

Number of factors to be estimated, if left unspecified 25 is going to be used. (round(N * 0.25))

covars

Known fixed effects that you wish to account for.

Value

List with residuals, weights and factors saved.


jinhyunju/eQTLtools documentation built on May 19, 2019, 10:35 a.m.