read_exstra_db: Read a file of known STR loci for analysis

View source: R/read_exstra_db.R

read_exstra_dbR Documentation

Read a file of known STR loci for analysis

Description

Reads a file formatted for exSTRa that contains information of short-tandem repeat loci that may be expanded.

Usage

read_exstra_db(file, ...)

Arguments

file

Path of the file to be read.

...

Extra arguments to the functions read.delim (text) or xlsx::read.xlsx (for xlsx files).

Details

Files are assumed to be tab-delimited unless the extension is xlsx in which case the xlsx package is used (if installed).

Value

An exstra_db object.

See Also

read_score

Examples

read_exstra_db(system.file("extdata", "repeat_expansion_disorders_hg19.txt", package = "exSTRa")) 


bahlolab/exSTRa documentation built on Sept. 17, 2022, 5:08 p.m.