read.mut: Parse mut file

Description Usage Arguments Value Examples

View source: R/basics_parse.R

Description

This function uses fread to parse a .mut file, which is part of the anc/mut output file format of SHAPEIT2.

Usage

1
read.mut(filename, CHR = NA, ...)

Arguments

filename

string. Filename

CHR

int. Chromosome index.

...

Any other parameters for fread

Value

Returns a data table.

Examples

1
read.mut(system.file("extdata/example.mut.gz", package = "relater"))

leospeidel/relater documentation built on Feb. 3, 2022, 8:22 p.m.