PATHChangeDat

Description

PATHChangeDat is the first step of the PATChange package. This function performs a array information step. For this, PATHChangeDat download the Matrix Series Files from GEO database.

Usage

1
PATHChangeDat(eDat, DataSet, NumbSample, Genes, HistComp, hc, writeRDS, destDIR)

Arguments

eDat

Input dataset file name (tab delimited (*.csv) format) containing the expression data for the probes and symbols from the samples.

DataSet

GEO dataset series (e.g. 'GSE4186').

NumbSample

Number of samples in dataset.

Genes

Genes file.

HistComp

TRUE for more than one histological comparison. You may want to set this to FALSE if you already know which histological comparison you wish to do.

hc

Is a character string required if histComparison argument is set to FALSE defining the specific histological comparison (e.g. hc=c('colon normal', 'colon adenoma')).

writeRDS

TRUE for write a .rds file result.

destDIR

Destination folder for .rds file.

Details

In the case of repeated genes in the array, the PATHChangeDat performs an average over their expression values. This ensures that the probability of choosing each gene in the Bootstrap is the same. Many GEO series contains more than a single combination of tissues to be studied, using PATHChangeDat, the user will be prompted to choose different histological comparisons in the study.

Value

MeanData

Tables with all histological comparisons.

Author(s)

Carla A. R. S. Fontoura

References

http://www.ncbi.nlm.nih.gov/geo

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# For Ontocancro pathways, you can download a file with all genes from 
# http://ontocancro.inf.ufsm.br/download/genes_ontocancro.zip

require(rlist)
eDat<-system.file("extdata", "eDat.csv", package = "PATHChange")
genes<-system.file("extdata", "genes.txt", package="PATHChange")

## Not run: PATHChangeDat(eDat=eDat, DataSet="GSE35972", NumbSample=6, Genes=genes, 
              HistComp=FALSE, hc=c("untreated", "treated with"), writeRDS=FALSE)
## End(Not run)
## Not run: MeanData <- list.load(file.path(tempdir(),"MeanData.rds"))