Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/makeTxDbFromExons.R
Takes a data base connection to create a EnhancedTxDb based on
ENSEMBL. In contrast to the normal TxDb
objects EnhancedTxDb objects allow to store also annotation information.
At the moment the only used annotation information is the ENSEMBL biotype.
1 2 3 4 5 | createTxDbFromEnsembl(version, annotInfo=TRUE,
ensemblApi="/home/bioinfo/ensembl/75/",
bioperl="~/ENSEMBL/bioperl-1.2.3",
species="human", user="anonymous", host="ensembldb.ensembl.org",
pass="", chr=character(), ...)
|
version |
Ensembl version from which the object should be created. E.g.: 67 |
annotInfo |
Logical. If |
ensemblApi |
The path to the Ensembl perl API (if not already in the PERL5LIB environment variable). |
bioperl |
Location of the BioPerl library. |
species |
Species for which the |
user |
Username for the data base. Default is |
host |
Sever where the data base is running. |
pass |
Password of the chosen data base user. Default no password is set. |
chr |
Utilized chromosomes. E.g.: chr= |
... |
Arguments to be passed to or from methods. |
Making a TxDb
or a EnhancedTxDb object
from ENSEMBL containing annotation information from ENSEMBL.
The function utilizes a perl script to retrieve the required
information from ENSEMBL. To make the function work it is essential to
have the ENSEMBL Perl API installed on your machine and that the
provided data base connection is correct.
Returns either a EnhancedTxDb
object containing
the coordinates and annotation of the provided ENSEMBL version or a
TxDb
providing only the genomic
coordinates of the transcripts, exons, cds and genes.
D. Bindreither
TxDb, GRangesList
1 2 3 4 5 6 7 8 9 10 | ## Not run:
## TranscriptDb-object
txdb <- createTxDbFromEnsembl(75, annotInfo=FALSE, chr=19)
txdb
## EnhancedTxDb-object
etxdb <- createTxDbFromEnsembl(75, chr=19)
etxdb
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.