library(EnsDb.Hsapiens.v75)
## Display some information:
EnsDb.Hsapiens.v75
## Show the tables along with its columns
listTables(EnsDb.Hsapiens.v75)
## For what species is this database?
organism(EnsDb.Hsapiens.v75)
## What Ensembl version if the database based on?
ensemblVersion(EnsDb.Hsapiens.v75)
## Get some more information from the database
metadata(EnsDb.Hsapiens.v75)
## Get all the sequence names.
seqlevels(EnsDb.Hsapiens.v75)
###### buildQuery
##
## Join tables gene and transcript and return gene_id and tx_id
buildQuery(EnsDb.Hsapiens.v75, columns=c("gene_id", "tx_id"))
## Get all exon_ids and transcript ids of genes encoded on chromosome Y.
buildQuery(EnsDb.Hsapiens.v75, columns=c("exon_id", "tx_id"),
filter=list(SeqnameFilter( "Y")))
## List all available gene biotypes from the database:
listGenebiotypes(EnsDb.Hsapiens.v75)
## List all available transcript biotypes:
listTxbiotypes(EnsDb.Hsapiens.v75)
## Update the EnsDb; this is in most instances not necessary at all.
updateEnsDb(EnsDb.Hsapiens.v75)
Run the code above in your browser using DataLab