lm2Contrast: Linear Model analysis with limma

Description Usage Arguments Value Author(s) See Also Examples

View source: R/lm2Contrast.R

Description

Linear Model analysis with limma

Usage

1
lm2Contrast(expr.matrix, design)

Arguments

expr.matrix

A matrix of standardized data. Columns = samples, rows = genes,transcripts,CpG...

design

The design of the experiment (object)

Value

Linear model contrast ...

lm2.contrast

MArrayLM object(limma) result of the eBayes function.

contrasts

Vector of contrasts

contrast.matrix

Matrix of contrasts

Author(s)

Simon J Pelletier

See Also

design_contrasts makeContrasts lmFit MArrayLM

Examples

1
2
3
4
5
6
7
expr.matrix <- readRDS("data/expr_matrix_LGVD.rds")
design <- design_contrasts(get_names(colnames(expr.matrix)))
results_list <- results_topTable()
lm2 <- lm2Contrast(expr.matrix,design)
lm2.contrast = lm2[[1]]
contrasts=lm2[[2]]
contrast.matrix=lm2[[3]]

spell098/rnaseq_app documentation built on May 30, 2019, 7:57 a.m.