WriteORAresults: Function to write lrn file of GO terms and the computed...

Description Usage Arguments Value Author(s)

View source: R/WriteORAresults.R

Description

Function to write lrn file of GO terms and the computed values, names file of GO terms and their descriptions and sparse matrix of genes and GO terms where the results of the overrepresentation analysis (ORA) are given.

Usage

1
2
3
WriteORAresults(FileNameWithoutExt, ORAresults, OutDirectory = getwd(), 

InFileWithExt = "")

Arguments

FileNameWithoutExt

String. Name of the output file without extention.

ORAresults

List of 4. For further details see function ORA.

LRNresults

List of 19 containing results relevant for lrn: LRNresults = list(GOtermNr, OntologyNr, NrOfGenesInUniverse, NrOfGenesInSample, NrOfAnnotationsInTerm, Up, ExpNrOfAnnsInTerm, ObservedNrOfAnnsInTerm, RelDiff, Pvalue, LogPvalue, Certainty, InfoValue, Remarkable, Importance, InfoContent, InfoContentORA, IsHeadline, IsDetail) Names of this list will be used as Header in FileNameWithoutExt.lrn.

NAMESresults

List of 3 containing results relevant for names: NAMESresults = list(GOtermNr, GOtermDescription, GOtermId) Names of this list will be used as Header in FileNameWithoutExt.names.

Genes2GOtermsMatrix

Matrix describing the annotations of genes to GO terms: Dimnames will be used as Key (rownames) respectively Header (colnames).

GO2GOAdjMatrices

List of 4 containing the adjacency matrices for each ontology and the combined sparse matrix representing the DAGs of significant GOterms: GO2GOAdjMatrices = list(GO2GOSparseAdjMatrix, AdjMatrixGO2GOBP, AdjMatrixGO2GOMF, AdjMatrixGO2GOCC)

OutDirectory

String. Default: current directory. Directory where the files should be saved.

InFileWithExt

String. Default: ”. FileName of original input file.

Value

Files saved in OutDirectory containing all the information received by ORA, Genes to GO terms matrix and adjacency matrix of the GO terms.

Author(s)

CL


CLippmann/dbtORA documentation built on Feb. 4, 2020, 12:37 a.m.