createContrast: Create contrast by finding matrix values in the design...

View source: R/markdown.R

createContrastR Documentation

Create contrast by finding matrix values in the design matrix. Values are assigned based if present in matrix (v1 or v2) else 0.

Description

Create contrast by finding matrix values in the design matrix. Values are assigned based if present in matrix (v1 or v2) else 0.

Usage

createContrast(design, matrix_v1, matrix_v2)

Arguments

design

String, in use design matrix

matrix_v1

Vector, containing the left matrix values

matrix_v2

Vector, containing the right matrix values

Value

contrast, (vector) containing the contrasts (0, 1, -1)


LUMC/DGE_analysis documentation built on Aug. 12, 2022, 11:04 p.m.