View source: R/ProcessingPipelineFunctions.R
geneGRanges | R Documentation |
Given a GenomicFeatures annotation_db and a gene_id, extract an GRanges object of the cds
geneGRanges(
annote_obj_path,
gene_id,
id_col = "ID",
feature_col = "type",
feature = "cds"
)
annote_obj_path |
path to an annotation file parsed by rtracklayer::import |
gene_id |
the ID of a gene in the db. Eg, for cryptococcus CKF44_05222 |
id_col |
gene feature column. Default is 'ID' |
feature_col |
feature (col 3) column of annote_obj. Default is 'type' |
feature |
what feature to select. Default is 'cds' |
an IRanges object of a given feature (eg, a gene's cds features)
rtracklayer::import
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.