dataPreprocess: Function "dataPreprocess"

Description Usage Arguments Value

View source: R/dataPreprocess.R

Description

This function preprocesses clinical data and gene expression matrix.

Usage

1
2
dataPreprocess(dataInfo, dataMatrix, pcg_ense, condition, attr1, attr2,
  type1, type2, Order)

Arguments

dataInfo

a data frame which contains clinical information of data

dataMatrix

a matrix consisting of gene expression counts

pcg_ense

a character vector of protein-coding ensembl gene IDs

condition

a character vector composed of all different group conditions

attr1

a string character indicating the column name for "Sample ID" in the clinical data

attr2

a string character indicating the desired group name in the clinical data

type1

a string character representing one group condition

type2

a string character representing the other group condition

Order

a logical variable indicating whether or not to use decreasing order to resort the data information

Value

a list consisting of numbers of each group condition, processed clinical data information and ready-to-use gene expression matrix.


Coraline66/RNASeqAnalysis documentation built on Nov. 25, 2019, 8:03 a.m.