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

View source: R/read_and_preprocess_data.R

read_and_preprocess_dataR Documentation

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
)

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)

Value

A large list containing the data file and the input values

Examples

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

DGEAR documentation built on June 27, 2024, 1:07 a.m.