read.loci: Read in locus file

View source: R/input_processing.R

read.lociR Documentation

Read in locus file

Description

This function reads in the locus file, defining the locus boundaries using either coordinates (headers: 'CHR', 'START', 'STOP') and/or ';' separated SNP lists (header: 'SNPS'). A locus ID column is also required (header: 'LOC').

If both coordinates and SNP list columns are provided, only the SNP lists will be used for subsetting the reference data (this can be convenient if the SNP coordinates are based on a different genome build version than the reference).

Usage

read.loci(loc.file)

Arguments

loc.file

Name of locus file


josefin-werme/LAVA documentation built on July 4, 2024, 8:11 p.m.