| gdb.info | R Documentation |
Returns information about a misha genome database including format, number of chromosomes, total genome size, and whether it uses the indexed format.
gdb.info(groot = NULL)
groot |
Root directory of the database. If NULL, uses the currently active database. |
A list with database information:
path - Full path to the database
is_db - TRUE if this is a valid misha database
format - "indexed" or "per-chromosome"
num_chromosomes - Number of chromosomes/contigs
genome_size - Total length of genome in bases
chromosomes - Data frame with chromosome names and sizes
## Not run:
# Get info about currently active database
info <- gdb.info()
cat("Database format:", info$format, "\n")
cat("Genome size:", info$genome_size / 1e6, "Mb\n")
# Get info about specific database
info <- gdb.info("/path/to/database")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.