Usage
get.baits(baitsfile, chrcol = 1, startcol = 2, endcol = 3, seqcol = 4, zerobased = TRUE, sep = "\t", header = TRUE, ...)
Arguments
baitsfile
name of file giving the positions and sequences of each hybridization probe ("bait")
chrcol
in which column in baitsfile
there is the chromosome information
(chromosome information in the file should be in string format, e.g. "chrX")
startcol
in which column there are the starting positions of the baits
endcol
in which column there are the end positions of the baits
seqcol
in which column there are the sequences of the baits
zerobased
if TRUE
, start coordinates in baitsfile
are assumed to be 0-based
and are then converted to 1-based system by adding 1. If FALSE
, coordinates are not
shifted. In this case they should already be 1-based in baitsfile
.
sep
column separator character, defaults to tabs
header
a logical value indicating whether the file contains the names of the variables as its first line; defaults to FALSE
...
further arguments passed to read.delim