Usage
Band.pos(chr = NA, pos = NA, start = NA, end = NA, ranges = NULL, build = NULL, dir = NULL, bioC = FALSE, one.to.one = TRUE)
Arguments
chr
character, an optional vector of chromosomes to combine with 'pos' or 'start'+'end'
(enter in ...) to describe positions to retrieve the possible overlapping cytoband(s)
pos
integer, an optional vector of chromosome positions (for SNPs), no need to enter
start or end if this is entered, and vice-versa
start
integer, an optional vector of start points for chromosome ranges
end
integer, an optional vector of end points for chromosome ranges
ranges
optional GRanges or RangedData object describing positions for which we want bands,
removing the need to enter chr, pos, start or end
build
character, "hg18" or "hg19" (or 36/37) to show which reference to retrieve. The
default when build is NULL is to use the build from the current ChipInfo annotation
dir
character, 'dir' is the location to download gene annotation information to; if left as
NULL, depending on the value of getOption("save.annot.in.current"), the annotation will either
be saved in the working directory to speed-up subsequent lookups, or deleted after use.
bioC
logical, if true then return position information as a GRanges object, or
RangedData if 'ranges' is RangedData, else a data.frame
one.to.one
logical, whether to concatenate multiple hits for the same range into one result,
or spread the result over multiple lines, one for each cytoband overlapped