Usage
Pos.gene(genes, build = NULL, dir = NULL, bioC = FALSE, band = FALSE, one.to.one = TRUE, remap.extra = FALSE, discard.extra = TRUE, warnings = TRUE)
Arguments
genes
character, a vector of gene ids
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, else
a data.frame
band
logical, whether to include band/stripe in returned object
one.to.one
logical, some genes have split ranges, TRUE merges these to give only 1 range
per gene, NB: this is the default behaviour when using the more general Pos() function
remap.extra
logical, if TRUE genes with chromosome annotation 'c6_cox' and 'c6_QBL' will
be mapped to chromosome 6, and 'NT_xxxx' chromosome labels will all be mapped to 'Z_NT', etc
discard.extra
logical, if TRUE then any gene hit with chromosome not in 1:22, X, Y, XY, MT,
will be discarded.
warnings
logical, whether to show warnings when some/all ids are not matched to the
reference