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")
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Path2PPI)
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/Path2PPI/removeReference.Rd_%03d_medium.png", width=480, height=480)
> ### Name: removeReference
> ### Title: Remove reference species
> ### Aliases: removeReference
>
> ### ** 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)
Search for all relevant interactions:
0%--25%--50%--75%--100%
Remove irrelevant homologs.
> ppi <- addReference(ppi, "Saccharomyces cerevisiae (S288c)", "559292",
+ yeast.ai.proteins, yeast.ai.irefindex, pa2yeast.ai.homologs)
Search for all relevant interactions:
0%--25%--50%--75%--100%
Remove irrelevant homologs.
>
> #Remove second reference species
> ppi <- removeReference(ppi,2)
>
> #Remove reference species with taxonomy id "9606"
> ppi <- removeReference(ppi,"9606")
>
>
>
>
>
>
> dev.off()
null device
1
>