View source: R/input_processing.R
read.loci | R Documentation |
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).
read.loci(loc.file)
loc.file |
Name of locus file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.