writeRankings {ShotgunFunctionalizeR}R Documentation

Writes rankings to a file

Description

Write rankings testGeneFamilies and testGeneCategories to a text file.

Usage

writeRankings(Result, File, col.names=TRUE, sep="\t")

Arguments

Result List with rankings from either testGeneFamilies or testGeneCategories
File Name of the output file
col.names Should column names be written?
sep field separator

Details

writeRankings write the ranking list from either testGeneFamilies or testGeneCategories to a specified file.

Examples

## Not run: 
data(MouseCOG)
groups<-c("Lean", "Lean", "Lean", "Obese", "Obese")
res.mouse<-testGeneFamilies(MouseCOG, method="poissongroups", groups=groups)  
writeRankings(res.mouse, File="Results.txt")
## End(Not run)

[Package ShotgunFunctionalizeR version 1.0-3 Index]