Description Usage Arguments Value Examples
View source: R/getGenesAnnotation.R
The function returns the required information about a list of genes from Ensembl biomart. This list of genes can be Ensembl ID, gene names or either of the possible values admited by Ensembl biomart. Furthermore, the reference genome can be chosen depending on the necessity of the user.
1 2 3 4 5 6 7 8 9 | getGenesAnnotation(
values,
attributes = c("ensembl_gene_id", "external_gene_name", "percentage_gene_gc_content",
"entrezgene_id"),
filter = "ensembl_gene_id",
notHSapiens = FALSE,
notHumandataset = "",
referenceGenome = 38
)
|
values |
A list of genes that contains the names or IDs or "allGenome" string, which indicates that all genome will be returned. |
attributes |
A vector which contains the different information attributes that the Ensembl biomart admit. |
filter |
The attribute used as filter to return the rest of the attributes. |
notHSapiens |
A boolean value that indicates if the user wants the human annotation or another annotation available in BiomaRt. The possible not human dataset can be consulted by calling the following function: biomaRt::listDatasets(useMart("ensembl")). |
notHumandataset |
A dataset identification from biomaRt::listDatasets(useMart("ensembl")). |
referenceGenome |
Integer that indicates used reference genome. It must be 37 or 38. |
A matrix that contains all the information asked to the attributes parameter.
1 | myAnnotation <- getGenesAnnotation(c("KRT19","BRCA1"), filter="external_gene_name",notHSapiens=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.