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)
#Using the default settings leads to 8 predicted interactions in the
#target species
ppi <- predictPPI(ppi)
#Consider complexes where each complex is allowed to be up to 10 proteins
#large. For this smaller pathway only one more interaction was predicted when
#considering larger complexes.
ppi <- predictPPI(ppi,consider.complexes=TRUE,max.complex.size=10)
#We can be less strict and decrease h.range what obviously increases the
#number of predicted interactions to 13
ppi <- predictPPI(ppi,h.range=c(1e-60,1e-20))
Run the code above in your browser using DataLab