genes_from_GOterms: Convert GO terms to gene names.

Description Usage Arguments

View source: R/utils_functions.R

Description

This function download or load Genes/GO terms association maps from BioMart.

Usage

1
2
3
4
5
6
genes_from_GOterms(
  go_ids,
  biomart_dataset = "mmusculus_gene_ensembl",
  gofilename = system.file("extdata", "Annotations/gene_goterms.txt", package =
    "Antler")
)

Arguments

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 listDatasets from the "biomaRt" package. Default to 'mmusculus_gene_ensembl'.

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.


juliendelile/Antler documentation built on June 19, 2021, 9 a.m.