datPrep: internal fxn for array data preprocessing

Description Usage Arguments Value

View source: R/microarray.R

Description

this function is used to extract and prepare the data matrix which will be used to do differential expression calculation. if class1 is set to NULL, the returned value will be used for one class DEG analysis.

Usage

1
datPrep(dat.mtr, featureName = NULL, sample.label, class1, class2)

Arguments

dat.mtr

an expression data matrix with one column per sample; each gene as a row.

featureName

optional gene name for the expression matrix(vector with length == nrow(dat.mtr)).

sample.label

sample treament(condition) labels for each sample(vector with length == ncol(dat.mtr)).

class1

class1 and class2 are strings indicating which groups are compared.

class2

class1 and class2 are strings indicating which groups are compared.

Value

a list with 3 elements: dat for expression data matrix, cls for the coressponding sample labels, featureName is attached as also.


htc502/ewrefxn documentation built on Feb. 2, 2020, 9:14 a.m.