removeReference {Path2PPI} | R Documentation |
Remove reference species previously attached to an object from the class
Path2PPI
.
removeReference(path2ppi, species)
path2ppi |
An object from the class |
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. |
An object of the class Path2PPI
with removed reference species
species
.
Oliver Philipp MolBI-software@bioinformatik.uni-frankfurt.de
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")