writeScores {SeqGSEA} | R Documentation

## 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.

### Author(s)

Xi Wang, xi.wang@newcastle.edu.au

### See Also

`DEscore`, `geneScore`

### Examples

    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.

[Package SeqGSEA version 1.30.0 Index]