complexName {RpsiXML} | R Documentation

## Accessor functions for complex

### Description

These functions are used to extract useful information of complex in the form of `psimi25Complex-class` object.

### Usage

    complexName(x,...)
    members(x)
    attributesList(x)

### Arguments

`x` | An object of `psimi25Complex-class`
`...` | Not implemented yet

### Details

See examples

### Value

`complexName` | Returns the name of the complex in characters
`members` | A data frame of protein members building the complex and their information
`attributesList` | A list of `psimi25Attribute` objects, recording the attribute name, name accession and value.

### Author(s)

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

### See Also

`psimi25Complex-class`

### Examples

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

    intactComplexxml <- file.path(xmlDir,"intact_complexSample.xml")
    intactComplexSet <- parsePsimi25Complex(intactComplexxml, INTACT.PSIMI25)
    complexSample <- complexes(intactComplexSet)[[2]]

    complexName(complexSample)
    attributesList(complexSample)
    members(complexSample)

[Package RpsiXML version 2.29.0 Index]