genAnnotationFiles: Function to generate a format in Wego native style from a...

Description Usage Arguments Value Author(s) Examples

View source: R/genAnnotationFiles.R

Description

Given a Excel spreadsheet with multiple tabs, generate a Wego file for each tab using a pre-download DB file.

Usage

1
2
genAnnotationFiles(fExcelName,  colName="Uniprot", 
				DB.name = "pathwayDB.csv", folder="PWFiles",outFolder=tempdir())

Arguments

fExcelName

An excel file containing one or multiple tabs of protein IDs. For example, the proteins in each tab come from the same cluster.

colName

The column name of the protein ID.

DB.name

The database file name, in .csv format.

folder

The folder name for saving the generated files.

outFolder

The output files folder

Value

The folder path for generated annotation files.

Author(s)

J. Wu

Examples

1
2
3
4
5
path <- system.file("files", package = "PloGO2")

genAnnotationFiles(fExcelName = file.path(path, "ResultsWGCNA_Input4PloGO2.xlsx"),  
				colName="Uniprot", 
				DB.name = file.path(path, "pathwayDB.csv"))

PloGO2 documentation built on Nov. 8, 2020, 5:40 p.m.