Usage
genemap(orgref, genes = NULL,
geneannotype, chrsToUse = as.character(1:22),
na.action = na.omit, forceUCSC = TRUE,
addCHRLENGTHS = TRUE, trim = TRUE)
Arguments
genes
vector of tokens to be mapped; if NULL
, all
tokens in keys(orgref, keytype=geneannotype)
are
used
geneannotype
character, an element of keytypes(orgref)
chrsToUse
vector identifying tokens with acceptable values for the
ranges of CHRLOC
and CHRLOCEND
columns of
the annotation resource
na.action
an interim result of the annotation query is a data.frame instance;
na.action will be applied to this data.frame prior to GRanges
construction
forceUCSC
logical: if UCSC chromosome identifiers are not employed and
forceUCSC is TRUE, ``chr'' will be prepended to chromosome numbers.
addCHRLENGTHS
logical, should action be taken to add CHRLENGTH information to
the seqinfo for the output
trim
logical, if TRUE, the trim method will be applied before returning
to ensure all ranges are consistent with CHRLENGTHs