thank you theobroma22, I tested this R code to get GO terms
library("biomaRt")
# define biomart object
mart <- biomaRt::useMart(biomart = "plants_mart", dataset = "athaliana_eg_gene", host = 'plants.ensembl.org')
#query biomart
GTOGO <- biomaRt::getBM(attributes = c( "ensembl_gene_id", "go_id"), mart = mart)
head (GTOGO)
#remove genes without annotation
GTOGO <- GTOGO[GTOGO$go_id != '',]
And to filter the genes annoted by this term (GO:0015979) photosynthesis, I tested this code, but it is non functional
result <- biomaRt::getBM(attributes = c( "ensembl_gene_id", "go_id"), filters = "go_id", values = "GO:0015979", mart = mart)
have you any idea please?
Can you not find this information outside of a specific package or software? An example, which happens to include microarray data.
Hi, I am not looking for photosyntheis regulatory network. I analyse my dataset using R and I want to filter these genes from my dataset, can I use the photosynthesis pathways (map00195 and map00710) from kegg database to know all the related genes? and how I do that with R. thanks