removeReference {Path2PPI} | R Documentation

## Remove reference species

### Description

Remove reference species previously attached to an object from the class `Path2PPI`.

### Usage

    removeReference(path2ppi, species)

### Arguments

`path2ppi` | An object from the class `Path2PPI`.
`species` | Either a number between 1 and the number of stored reference species or a character string with the taxonomy id of the reference species to remove.

### Value

An object of the class `Path2PPI` with removed reference species `species`.

### Author(s)

Oliver Philipp MolBI-software@bioinformatik.uni-frankfurt.de

### See Also

`showReferences`, `addReference`

### Examples

    data(ai) #Load test data set

    ppi <- Path2PPI("Autophagy induction", "Podospora anserina", "5145")

    ppi <- addReference(ppi, "Homo sapiens", "9606", human.ai.proteins,
                        human.ai.irefindex, pa2human.ai.homologs)
    ppi <- addReference(ppi, "Saccharomyces cerevisiae (S288c)", "559292",
    yeast.ai.proteins, yeast.ai.irefindex, pa2yeast.ai.homologs)

    #Remove second reference species
    ppi <- removeReference(ppi,2)

    #Remove reference species with taxonomy id "9606"
    ppi <- removeReference(ppi,"9606")

[Package Path2PPI version 1.10.0 Index]