Learn R Programming

genbankr (version 1.0.4)

cds,GenBankRecord-method: Annotation extraction api

Description

Accessor functions shared with the larger Bioconductor ecosystem.

Usage

"cds"(x)
"exons"(x)
"genes"(x)
"transcripts"(x)
"getSeq"(x, ...)
"getSeq"(x, ...)
"getSeq"(x, ...)
"cdsBy"(x, by = c("tx", "gene"))
"exonsBy"(x, by = c("tx", "gene"))
"isCircular"(x)
"seqinfo"(x)

Arguments

x
The object containing the annotations
...
unused.
by
character. Factor to group the resulting GRanges by.

Value

The expected types, GenomicRanges for most functions, a DNAStrimgSet for getSeq

Examples

Run this code
gb = readGenBank(system.file("sample.gbk", package="genbankr"))
cds(gb)
exons(gb)
genes(gb)

Run the code above in your browser using DataLab