read_snp {BREADR}R Documentation

read_snp

Description

read_snp

Usage

read_snp(filename)

Arguments

filename

a SNP text file.

Value

tibble with column headings: snp (CHR), chr (DBL), pos (DBL), site (DBL), anc (CHR), and der (CHR).

Examples

std_snpfile <- system.file("extdata", "example.snp.txt", package = "BREADR")
broken_snpfile <- system.file("extdata", "broken.snp.txt", package = "BREADR")
read_snp(std_snpfile)
read_snp(broken_snpfile)

[Package BREADR version 1.0.1 Index]