saveData: saveData

Description Usage Arguments Examples

View source: R/saveData.R

Description

Function that saves a R object in files.

Usage

1
2
3
4
saveData(expres, expresNames = colnames(expres), expres.csv.FileName,
  csvType, description = "Normalized Values", anotPackage,
  SYMBOL = "SYMBOL", symbolsVector = NULL, expres.bin.FileName,
  linksFile, outputDir)

Arguments

expres

Object to be saved.

expresNames

Names of the samples of expression.

expres.csv.FileName

Name of the csv file.

csvType

Csv type.

description

Description of the file for Linksfile.

anotPackage

Package of annotations.

SYMBOL

????????

symbolsVector

Name of the symbols table.

expres.bin.FileName

File name of the filtered data.

linksFile

Character string that indicates the path to the txt file.

outputDir

Path of the file created.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
load("./ResultsDir/normalizedData.Rda")
repes <- duplicated(exprs(my.norm), MARGIN=1)
exprs(my.norm) <- exprs(my.norm)[!repes,]
eset_norm <- my.norm
normalized.all.FileName <- "normalized.all"
fileType <-"csv2"
symbolsTable <- load("./ResultsDir/Symbols.Rda")
expres.all.FileName <- "expres.Rda"
linksFileName <- "Links.txt"
outputDir <- "./ResultsDir"
saveData(expres = exprs(eset_norm), expres.csv.FileName = normalized.all.FileName,
csvType=fileType, description = "Normalized values for all genes", anotPackage = NULL,
symbolsVector = symbolsTable, SYMBOL = "SYMBOL", expres.bin.FileName = expres.all.FileName,
linksFile = linksFileName, outputDir = outputDir)
## End(Not run)

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