removeReference: Remove reference species

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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") 

Path2PPI documentation built on Nov. 8, 2020, 5:38 p.m.