Description Usage Arguments Details Value Author(s) Examples
Given a character vector with genesymbols and an OrgDb object, this function returns a GRanges giving the coordinates of the genes.
1 2 3 4 5 6 7 8 9 10 11 | getAreaFromGeneNames(genesymbols, ...)
## S4 method for signature 'character'
getAreaFromGeneNames(
genesymbols,
OrgDb,
leftFlank = 0,
rightFlank = 0,
na.rm = FALSE,
verbose = TRUE
)
|
genesymbols |
A character vector that contains genesymbols of genes from which we wish to retrieve the coordinates |
... |
arguments to pass on |
OrgDb |
An |
leftFlank |
A |
rightFlank |
A |
na.rm |
A |
verbose |
Setting |
This function is a convenience function that can be used to determine which
genomic coordinates to specify to e.g. impBamGAL
when retrieving
reads.
The function cannot handle genes that do not exist in the annotation. To remove these please set the na.rm=TRUE.
getAreaFromGeneNames
returns a GRanges object with genomic
coordinates around the specified genes
Jesper R. Gadin, Lasse Folkersen
1 2 3 4 5 6 | #load example data
data(ASEset)
#get counts at the three positions specified in GRvariants
library(org.Hs.eg.db )
searchArea<-getAreaFromGeneNames(c('PAX8','TLR7'), org.Hs.eg.db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.