findNeighbors(chrLoc, llID, chromosome, upBase, downBase, mergeOrNot = TRUE)
checkArgs(llID, chromosome, upBase, downBase)
findChr4LL(llID, chrEnv, organism)
getValidChr(organism)
getBoundary(loc, base, lower = TRUE)
weightByConfi(foundLLs)
chrLoc
a character string for the name of the
data package that contains mappings between Entrez Gene IDs and their
locations on chromosomes. For each chromosome, there assumed to be
mappings for the start and end locations of genes represented by
Entrez Gene IDs. The data package needs to be built using
chrLocPkgBuilder of AnnBuilderllID
a character string for the Entrez Gene ID
representing a gene whose neighbors are sought. llID can be missingchromosome
a character string for the number
of the chromosome of interest. chromosome is only required for
locating genes within a range on the chromosomeupBase
a numeric or character string for the
number of base pairs that defines the upper limit of the range to
locate genes. If neighbors of a given gene is sought, the value
will be the distance in number of base pairs from the target gene
upstream, to which search for genes will be conducted. Otherwise, the
value will be the upper limit in number of base pairs from the p arm,
to which search for genes will be conducteddownBase
a numeric or character string for the
number of base pairs that defines the lower limit of the range to
locate gene. If neighbors of a given gene is sought, the value
will be the distance in number of base pairs from the target gene
downstream, to which search for genes will be conducted. Otherwise, the
value will be the lower limit in number of base pairs from the p arm,
to which search for genes will be conductedorganism
a character string for the name of the
organism of interestchrEnv
an environment object with keys for
Entrez Gene IDs and values for the chromosomes where genes resideloc
a numeric of character string for the
chromosomal location of gene of interestbase
either a downBase
or upBase
lower
a boolean indicating whether the lower or
upper boundary of search limit is soughtmergeOrNot
a boolean to indicate whether gene
found up and down streams will be merged (TRUE)foundLLs
a vector of character strings for
Entrez Gene IDsGenes are considered to be neighbors to a given target gene or within a given range when the transcription of genes start and end within the given range.
findNeighbors, checkArgs, findChr4LL, getValidChr, and getBoundary are accessory functions called by findNeighbors and may not have real values outside.
if(require("humanCHRLOC")){
findNeighbors("humanCHRLOC", "51806", 10, upBase = 600000, downBase = 600000)
}else{
print("Can not find neighbors without the required data package")
}
Run the code above in your browser using DataLab