genAnnotationFiles {PloGO2}R Documentation

Function to generate a format in Wego native style from a list of Uniprot identifiers

Description

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

Usage

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


path <- system.file("files", package = "PloGO2")

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


[Package PloGO2 version 1.6.0 Index]