Description Objects from the Class Slots Methods Author(s) Examples
refGenome class: Virtual base class for ucscGenome and ensemblGenome.
Objects can be created by calls of the form refGenome(dbfile)
.
dbfile represents SQLite database file.
basedir
:Object of class "character"
Directory where SQLite database is written.
ev
:Object of class "environment"
Environment that contains data structures.
Optionally, there are gtf and attr data.frames.
signature(object = "refGenome")
:
Creates a sensible printout.
signature(object = "refGenome")
:
Returns tabled seqids which counts all annotations for each seqid.
The regex argument will display, which seqid is covered by regex.
Intended as preparation for extractSeqids.
signature(object = "refGenome")
:
Returns a filtered version of object.
Only data for the 'regex' specified seqids is contained.
The functions 'ucPrimAssembly' and 'ensPrimAssembly' return regular
expressions that allow extraction of primary assemblies for UCSC
and Ensembl respectively.
signature(object, filename="transcripts.gtf",
sep = "\t", useBasedir=TRUE, comment.char = "#",
progress=100000L, ...)
:
Imports content of gtf file.
This is the basic mechanism for data import.
It works the same way for ucscGenome and for ensemblGenome.
signature(object = "refGenome",
filename="character", useBasedir="logical")
:
Saves content of all tables to RData file.
When useBasedir is set (default), basedir (from basedir-slot)
is prefixed.
signature(object = "refGenome")
:
Copies content of gtf, attr and xref table to database.
Wolfgang Kaisers
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##-------------------------------------##
## Loading sample data:
##-------------------------------------##
ensfile <- system.file("extdata", "hs.ensembl.62.small.RData", package="refGenome")
ens <- loadGenome(ensfile)
ens
ddx <- extractByGeneName(ens,"DDX11L1")
ddx
ucfile <- system.file("extdata", "hs.ucsc.small.RData", package="refGenome")
uc <- loadGenome(ucfile)
uc
ddx <- extractByGeneName(uc,"DDX11L1")
ddx
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.