writeScores {SeqGSEA} | R Documentation |
This function is to write DE and DS scores, and optionally gene scores.
writeScores(DEscore, DSscore, geneScore=NULL, geneScoreAttr=NULL, file="")
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. |
Xi Wang, xi.wang@newcastle.edu.au
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.