Extract gene annotation as a GRanges
object
Arguments
- species
Character vector of PLAZA species IDs.
- transcripts
Character indicating what genes for which ranges will be extracted. One of 'all' (for each gene, all transcripts and associated features), or 'longest' (for each gene, only longest transcripts and associated features).
- features
Character indicating what features to extract. One of 'all' (all features, including exons, mRNAs, CDS, UTRs, etc), or 'exons' (only exon features).
Examples
ranges <- get_annotation(
species = c("aly", "ath"),
transcripts = "longest", features = "all"
)