readOrLoad.RawData: readOrLoad.RawData

Description Usage Arguments Value Examples

View source: R/readOrLoad.RawData.R

Description

Function that reads the raw data or if the eset is already created it is loaded.

Usage

1
2
readOrLoad.RawData(readCELS, phenoDat, fileNames, dataFName, outputDir,
  exonSt = FALSE, cdf = NULL)

Arguments

readCELS

If TRUE it reads and stores de novo the raw data.

phenoDat

Name of the file that contains phenodata information.

fileNames

List of the file names to import.

dataFName

Name of the file that stores raw data.

outputDir

Path where the my.raw will be stored.

exonSt

Default value FALSE. If TRUE the raw data is exon array.

cdf

name of "cel definition file" package

Value

my.raw expresion set object with the raw data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
require(affy)
require(oligo) #ExonStudy
readCELS <- TRUE
my.targets <- "./celfiles/targets.txt"
targets<- read.table("./celfiles/targets.txt", head=TRUE, sep="\t", row.names = 1)
my.fileNames <-paste("./celfiles/",rownames(targets),sep="")
rawDataFileName <- "rawData.Rda"
my.outputDir <- "."
isExonStudy <- FALSE
orgPackage <- "org.Hs.eg"

rawData <- readOrLoad.RawData(readCELS = readCELS, phenoDat = my.targets,
fileNames = my.fileNames, dataFName =rawDataFileName,outputDir = my.outputDir,
exonSt = isExonStudy)
## End(Not run)

uebvhir/BasicP4microArrays documentation built on Nov. 5, 2019, 11:03 a.m.