interactors {RpsiXML} | R Documentation

## Get information of interactors of the given object

### Description

`interactors` gets the list of interactors stored in the given object. One can also assign a list to replace old interactors.

`numInteractors` returns the length of interactors.

### Usage

    interactors(x)
    interactors(x) <- value
    numInteractors(x)

### Arguments

`x` | An object of the subclass of `interactorListBase`
`value` | A list of interactors

### Value

The getting method returns a list of interactors. The setting method mutates the object. The count method returns the list length as integer.

### Author(s)

Jitao David Zhang <jitao_david.zhang@roche.com>, Tony Chiang <tchiang@ebi.ac.uk>

### See Also

`psimi25InteractionEntry-class`, `psimi25ComplexEntry-class`

### Examples

    xmlDir <- system.file("/extdata/psi25files",package="RpsiXML")

    hprdxml <- file.path(xmlDir, "hprd_200709_test.xml.gz")
    hprdSet <- parsePsimi25Interaction(hprdxml, HPRD.PSIMI25)
    interactors(hprdSet)

    ## Not run:
    intactComplexxml <- file.path(xmlDir,"intact_complexSample.xml.gz")
    intactComplexSet <- parsePsimi25Complex(intactComplexxml,
    INTACT.PSIMI25)

    interactors(intactComplexSet)
    numInteractors(intactComplexSet)
    ## End(Not run)

[Package RpsiXML version 2.34.0 Index]