A GenomeDescription object holds the meta information describing a given genome.
In general the user will not need to manipulate directly a GenomeDescription instance but will manipulate instead a higher-level object that belongs to a class that extends the GenomeDescription class. For example, the top-level object defined in any BSgenome data package is a BSgenome object and the BSgenome class contains the GenomeDescription class. Thus a BSgenome object is also a GenomeDescription object and can therefore be treated as such. In other words all the methods described below will work on it.
In the code snippets below,
x is a
Return the scientific name of the organism of the genome e.g.
"Caenorhabditis elegans", etc...
Return the common name of the organism of the genome e.g.
Return the provider of this genome e.g.
Return the provider-side version of this genome.
For example UCSC uses versions
for the different Builds of the Human genome.
Return the release date of this genome e.g.
Return the release name of this genome, which is generally made of the
name of the organization who assembled it plus its Build version.
For example, UCSC uses
"hg18" for the version of the
Human genome corresponding to the Build 36.1 from NCBI hence
the release name for this genome is
"NCBI Build 36.1".
Uses the meta information stored in
x to make the name of
the corresponding BSgenome data package (see the
available.genomes function in the BSgenome
package for details about the naming scheme used for those packages).
Of course there is no guarantee that a package with that name
Gets information about the genome sequences. This information
is returned in a Seqinfo object.
Each part of the information can be retrieved separately with
respectively, as described below.
Gets the names of the genome sequences.
seqnames(x) is equivalent to
Gets the lengths of the genome sequences.
seqlengths(x) is equivalent to
Returns the circularity flags of the genome sequences.
isCircular(x) is equivalent to
available.genomes function and the
BSgenome class in the BSgenome package.
The Seqinfo class.
1 2 3 4 5 6 7 8 9 10 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.