View source: R/load_orgdb_annotations.R
load_orgdb_annotations | R Documentation |
Creates a dataframe gene and transcript information for a given set of gene ids using the AnnotationDbi interface.
load_orgdb_annotations(
orgdb = NULL,
gene_ids = NULL,
include_go = FALSE,
keytype = "gid",
location_column = "annot_location_text",
type_column = "annot_gene_type",
name_column = "annot_gene_product",
fields = NULL,
sum_exon_widths = FALSE
)
orgdb |
OrganismDb instance. |
gene_ids |
Search for a specific set of genes? |
include_go |
Ask the Dbi for gene ontology information? |
keytype |
Primary key of the tables, 'gid' for EuPathDB data. |
location_column |
Which column contains the location data for the genes? |
type_column |
Use this column to identify the gene type. |
name_column |
Use this column to identify the gene name. |
fields |
Columns included in the output. |
sum_exon_widths |
Perform a sum of the exons in the data set? |
This defaults to a few fields which I have found most useful, but the brave or pathological can pass it 'all'.
Table of geneids, chromosomes, descriptions, strands, types, and lengths.
atb
AnnotationDbi GenomicFeatures BiocGenerics
columns
keytypes
select
exonsBy
## Not run:
one_gene <- load_orgdb_annotations(org, c("LmJF.01.0010"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.