# NOT RUN {
load(system.file("extdata", "marine_metagenome.rda", package = "biofiles"))
## default "GRanges" object.
ranges(x)
## subset CDSs and include "product", "note", "protein_id" as metadata.
ranges(x["CDS"], include = c("product", "note", "protein_id"))
## subset CDSs and exclude "translation"
ranges(x["CDS"], include = "all", exclude = "translation")
# }
Run the code above in your browser using DataLab