genWegoFile {PloGO2} | R Documentation

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

### Description

Connects to the Uniprot Biomart using functionality from the biomaRt package, downloads GO information and organizes it as needed.

### Usage

    genWegoFile(IDList, fname = "Wego.txt", database = "uniprot", outFolder=tempdir())

### Arguments

`IDList` | A list of ID's, either Ensembl or Uniprot.
`fname` | The name of the text file to be outputed.
`database` | `"ensembl"` or `"uniprot"`.
`outFolder` | The output files folder

### Value

File path of generated Wego files

### Author(s)

D. Pascovici

### Examples

    v <- c("Q9HWC9","Q9HWD0","Q9I4N8","Q9HW18","Q9HWC9","Q9HWD0")

    ## Not run: genWegoFile(v, fname = "F1.txt")

[Package PloGO2 version 1.4.0 Index]