This function download or load Genes/GO terms association maps from BioMart.
genes_from_GOterms( go_ids, biomart_dataset = "mmusculus_gene_ensembl", gofilename = system.file("extdata", "Annotations/gene_goterms.txt", package = "Antler") )
go_ids | a character vector containing the GO terms to convert. Each term must be written with the 'GO:' prefix, e.g. 'GO:0007399'. |
---|---|
biomart_dataset | a character string specifying the BioMart dataset to use for the conversion. The list of available datasets can be listed with |
gofilename | character string. The file path of a csv file contining a mapping between gene names (first column) and GO terms (second column). If NA, the mapping is downloaded from ensembl's bioMart. |