I would like to do a comparison analysis of two different gene lists expressed between two samples with Goprofiler, following the instructions in the manual. I remind you that I am working on the species plamoduim faliciparum (Malaria) but in the comparisonGeneLists I have the following error:
library(goProfiles)
library(org.Pf.plasmo.db)
gene <- c("PF3D7_0100200",
"PF3D7_0100800",
"PF3D7_0102200",
"PF3D7_0102700",
"PF3D7_0106400",
"PF3D7_0108500",
"PF3D7_0112100",
"PF3D7_0113300",
"PF3D7_0113700",
"PF3D7_0114400",
"PF3D7_0115400",
"PF3D7_0200200",
"PF3D7_0200700",
"PF3D7_0202100",
"PF3D7_0202200",
"PF3D7_0202500",
"PF3D7_0205000",
"PF3D7_0205100",
"PF3D7_0205200",
"PF3D7_0209000",
"PF3D7_0210800")
MF.Profiles <-basicProfile(genelist=gene, onto='MF', level=2, orgPackage="org.Pf.plasmo.db")
print(MF.Profiles)
Output :
$MF
Description GOID Frequency
5 antioxidant activity GO:0016209 0
4 binding GO:0005488 3
7 cargo receptor activity GO:0038024 0
1 catalytic activity GO:0003824 0
14 molecular carrier activity GO:0140104 0
<h6>#</h6>
Comparaison :
gene1 <- c("PF3D7_0100200",
"PF3D7_0102200",
"PF3D7_0108500",
"PF3D7_0114400",
"PF3D7_0202200",
"PF3D7_0202500",
"PF3D7_0205000",
"PF3D7_0205100 ",
"PF3D7_0205200 ",
"PF3D7_0209000 ",
"PF3D7_0219700 ",
"PF3D7_0220400 ",
"PF3D7_0221300 ",
"PF3D7_0221500 ",
"PF3D7_0223100 ",
"PF3D7_0301800 ",
"PF3D7_0315200 ",
"PF3D7_0315300 ",
"PF3D7_0402900 ",
"PF3D7_0408000 ",
"PF3D7_0412600 ",
"PF3D7_0412900 ",
"PF3D7_0413400 ",
"PF3D7_0420900 ",
"PF3D7_0423800 ")
gene1Compared<- compareGeneLists (gene,
gene1, level=2, onto="MF", orgPackage="org.Pf.plasmo.db")
print(gene1Compared)
output :
Error in GOTermsList(commonGenes, orgPkg = "org.Hs.eg.db", onto = onto) :
require(orgPkg, character.only = TRUE, quietly = TRUE, warn.conflicts = FALSE) is not TRUE
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘org.Hs.eg.db’
I work on the database org.Pf.plasmo.db and in error talks about the human database. I can't understand that. Your suggestions will be beneficial