translateID-methods {RpsiXML} | R Documentation

## Translate interactors into other identifiers

### Description

The method finds any annotation IDs of of `psimi25Graph-class` or `psimi25Hypergraph-class` or `psimi25Interactor-class`

### Methods

r = "psimi25Graph"
  An object of `psimi25Graph-class`. It replaces the nodes with translated IDs and returns a new psimi25Graph object back.
r = "psimi25Hypergraph"
  An object of `psimi25Hypergraph-class`. Since the nodes of psimi25Hypergraph are not mutable, this method accepts a UniProt ID of interactors and returns the translated ID back. NA is also acceptable, which can be used to check interactors without mapping to UniProt
r = "list"
  A list of `psimi25Interactor-class`, returns a vector of translated identifiers back
r = "psimi25Interactor"
  An object of `psimi25Interactor-class`, returns translated identifier. Before using the method it is advisable to used xref(x) method to check which cross references are provided.

[Package RpsiXML version 1.4.1 Index]