Learn R Programming

SeqGSEA (version 1.12.0)

writeScores: Write DE/DS scores and gene scores

Description

This function is to write DE and DS scores, and optionally gene scores.

Usage

writeScores(DEscore, DSscore, geneScore=NULL, geneScoreAttr=NULL, file="")

Arguments

DEscore
normalized DE scores.
DSscore
normalized DS scores.
geneScore
gene scores integrated from DE and DS scores.
geneScoreAttr
the parameters for integrating DE and DS scores.
file
output file name, if not specified print to screen.

See Also

DEscore, geneScore

Examples

Run this code
data(DEscore, package="SeqGSEA")
data(DSscore, package="SeqGSEA")
gene.score <- geneScore(DEscore, DSscore, method="linear", DEweight = 0.3)
writeScores(DEscore, DSscore) # without gene scores
writeScores(DEscore, DSscore, geneScore = gene.score, 
            geneScoreAttr = "linear,0.3") # gene scores with attr.

Run the code above in your browser using DataLab