Entering edit mode
@pratikshasharma47-20320
Last seen 5.6 years ago
Hi! I'm new to R and I'm trying to do GO enrichment analysis using biomaRT. I have affymetrix data of rice (GPL2025) I have run the following script:
> library(biomaRt)
> mart <- useEnsembl("plants_mart", "osativa_eg_gene",host = "plants.ensembl.org")
> annot <- getBM(c("affy_rice","ensembl_gene_id","entrezgene","external_gene_name"), "affy_rice",featureNames(z), mart)
Error in getBM(c("affy_rice", "ensembl_gene_id", "entrezgene", "external_gene_name"), :
could not find function "featureNames"
any information to get rid of this error.