Learn R Programming

strvalidator (version 2.4.1)

getDb: Get Allele Frequency Database

Description

Gives access to allele frequency databases.

Usage

getDb(db.name.or.index = NULL, debug = FALSE)

Value

data.frame with allele frequency database information. If no matching database or database index is found NA is returned. If the database was not found NULL is returned.

Arguments

db.name.or.index

string or integer specifying the database. If NULL a vector of available databases is returned.

debug

logical indicating printing debug 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.

Examples

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

Run the code above in your browser using DataLab