read_dae_snps: Import DAE SNPs

View source: R/read_dae_snps.R

read_dae_snpsR Documentation

Import DAE SNPs

Description

This function reads in a list of DAE SNPs from a text file. One SNP per row. By default, it expects a header, which will be ignored anyway. If the first line is immediately a SNP, then use header = FALSE.

Usage

read_dae_snps(file, header = TRUE, distinct = TRUE)

Arguments

file

A path to a file.

header

Is the first line a line with a column name?

distinct

Remove any duplicate SNPs?

Value

A one-column data frame. This single column is named dae_snp. Rows are the DAE SNPs read from the text file.


maialab/daeqtlr documentation built on May 18, 2022, 6:53 a.m.