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/dgeAnalysis documentation built on Aug. 16, 2022, 6:23 a.m.