translateIntactID {Rintact} | R Documentation

## A function that translates the IntAct accession codes for molecules to other common identifiers.

### Description

The `translateIntactID` takes 3 parameters, either an intactGraph or intactHyperGraph S-4 Class, a vector of IntAct accession codes, and a vector of other identifiers. Then for the particular graph object, translateIntactID will map those IntAct accession codes to the other identifiers if possible.

### Usage

    translateIntactID(r,...)

### Arguments

`r` | Either an intactGraph or intactHyperGraph S-4 Class.
`...` | The primary use of this generic are as methods for the in intactGraph S-4 class and the intactHyperGraph S-4 class. In both two more parameters need for the method. The first is "ebiNames" which is a character vector of the IntAct accession codes to be mapped. The second is "toWhat" which is a character vector of identifier names. These identifiers are limited to the following: "uniprotId", "geneName", "fullName", "locusName", and "orfName"

### Value

A character matrix. The rows are indexed by the IntAct accession codes supplied and the columns are indexed by the identifiers supplied.

### Author(s)

T Chiang

### References

The IntAct Database http://www.ebi.ac.uk/intact/site/contents/downloads.jsf.

### See Also

`intactGraph-class`, `intactHyperGraph-class`

### Examples

    # parse complex data

[Package Rintact version 1.0.0 Index]