Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Gene Ontology Gene Sets from BioMart

License

NotificationsYou must be signed in to change notification settings

jokergoo/BioMartGOGeneSets

Repository files navigation

R-CMD-check

TheBioMartGOGeneSets contains pre-compiled GO gene sets for a huge number oforganisms supported inBioMart.There are two types of data: 1. genes and 2 gene sets.

Install

If you want the latest version, install it directly from GitHub:

if (!requireNamespace("devtools",quietly=TRUE))    install.packages("devtools")devtools::install_github("jokergoo/BioMartGOGeneSets")

Usage

To obtain the genes, use the functiongetBioMartGenes(). You need to providea proper "dataset", which can be found with the functionsupportedOrganisms() (A complete list canbe also found fromhttps://jokergoo.github.io/BioMartGOGeneSets/articles/supported_organisms.html). Herewe use the dataset"hsapiens_gene_ensembl" which is for human.

library(BioMartGOGeneSets)gr= getBioMartGenes("hsapiens_gene_ensembl")

To obtain the gene sets, use the functiongetBioMartGOGeneSets(). Also you need to providethe "dataset". Here we use a different data"mmusculus_gene_ensembl".

lt= getBioMartGOGeneSets("mmusculus_gene_ensembl")

The variablelt is a list of vectors where each vector corresponds to a GO gene set with EnsemblID as gene identifiers.

IngetBioMartGOGeneSets(), argumentas_table can be set toTRUE, then the function returnesa data frame.

tb= getBioMartGOGeneSets("mmusculus_gene_ensembl",as_table=TRUE)

Argumentontology controls which category of GO gene sets. Possible values should be"BP","CC"and"MF".

getBioMartGOGeneSets("mmusculus_gene_ensembl",ontology="BP")# the default onegetBioMartGOGeneSets("mmusculus_gene_ensembl",ontology="CC")getBioMartGOGeneSets("mmusculus_gene_ensembl",ontology="MF")

Last, argumentgene_id_type can be set to"entrez_gene" or"gene_symbol", then genes in the gene setsare in Entrez IDs or gene symbols. Note this depends on specific organisms, that not every organism supportsEntrez IDs or gene symbols.

lt= getBioMartGOGeneSets("mmusculus_gene_ensembl",gene_id_type="entrez_gene")

To get the version of the data

The objectBioMartGOGeneSets contains the version and source of data.

BioMartGOGeneSets

License

MIT @ Zuguang Gu

About

Gene Ontology Gene Sets from BioMart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp