RpsiXML (version 2.10.0)

interactors: 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.

See Also

psimi25InteractionEntry-class, psimi25ComplexEntry-class

Examples

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

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

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

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

Run the code above in your browser using DataCamp Workspace