Learn R Programming

DGEAR (version 0.1.4)

read_and_preprocess_data: Function to read data and perform initial pre-processing

Description

Function to read data and perform initial pre-processing

Usage

read_and_preprocess_data(
  datafile,
  con1,
  con2,
  exp1,
  exp2,
  alpha = 0.05,
  votting_cutoff = 2
)

Value

A large list containing the data file and the input values

Arguments

datafile

A matrix or data frame containing gene expression data

con1

Starting column of the control of the expression data

con2

Ending column of the control of the expression data

exp1

Starting column of the experiment of the expression data

exp2

Ending column of the experiment of the expression data

alpha

Value of significance level ranging from 0 to 1 (0.05 states 5 % significance)(Default = 0.05).

votting_cutoff

A numeric value serves as Majority voting (Default = 2)

Examples

Run this code
data("gene_exp_data")
read_and_preprocess_data(datafile = gene_exp_data, con1=1,con2=10,exp1=11,exp2=20)

Run the code above in your browser using DataLab