createDesign: Create vector from two design values and two matrix values....

View source: R/markdown.R

createDesignR Documentation

Create vector from two design values and two matrix values. Check if all values are the same then design will start with ~0. Get column names based on corresponding values in matrix. Paste column names together with +. Create String from vector seprated by ”.

Description

Create vector from two design values and two matrix values. Check if all values are the same then design will start with ~0. Get column names based on corresponding values in matrix. Paste column names together with +. Create String from vector seprated by ”.

Usage

createDesign(dge, dbase, dvalue, matrix_v1, matrix_v2)

Arguments

dge

DGE list object, containing samples and counts

dbase

Vector, base design column

dvalue

Vector, other design columns

matrix_v1

Vector, containing the left matrix values

matrix_v2

Vector, containing the right matrix values

Value

getdesign, (String) String with the design formula


LUMC/dgeAnalysis documentation built on Aug. 16, 2022, 6:23 a.m.