Learn R Programming

strvalidator (version 1.3.0)

getDb: Get allele frequency database

Description

getDb gives access to allele frequency databases.

Usage

getDb(dbNameOrIndex = NULL, debug = FALSE)

Arguments

dbNameOrIndex
string or integer specifying the database.
debug
logical indicating printing debug information.

Value

  • data.frame with allele frequency database information.

Details

The function provides access to allele frequency databases stored in the file database.txt in the package directory. It returns the specified allele frequency database. If no matching database or database index is found NA is returned. If NULL a vector of available databases is returned.

Examples

Run this code
# Show available allele frequency databases.
getDb()

Run the code above in your browser using DataLab