Description Usage Arguments Value Author(s) References See Also Examples
This function annotates ATAC-seq peak by a given annotation database.
For more information, please see annotatePeak
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | atacPeakAnno(
atacProc,
peakInput = NULL,
tssRegion = c(-1000, 1000),
TxDb = NULL,
level = "transcript",
genomicAnnotationPriority = c("Promoter", "5UTR", "3UTR", "Exon", "Intron",
"Downstream", "Intergenic"),
annoDb = NULL,
addFlankGeneInfo = FALSE,
flankDistance = 5000,
sameStrand = FALSE,
ignoreOverlap = FALSE,
ignoreUpstream = FALSE,
ignoreDownstream = FALSE,
overlap = "TSS",
annoOutput = NULL,
...
)
## S4 method for signature 'ATACProc'
atacPeakAnno(
atacProc,
peakInput = NULL,
tssRegion = c(-1000, 1000),
TxDb = NULL,
level = "transcript",
genomicAnnotationPriority = c("Promoter", "5UTR", "3UTR", "Exon", "Intron",
"Downstream", "Intergenic"),
annoDb = NULL,
addFlankGeneInfo = FALSE,
flankDistance = 5000,
sameStrand = FALSE,
ignoreOverlap = FALSE,
ignoreUpstream = FALSE,
ignoreDownstream = FALSE,
overlap = "TSS",
annoOutput = NULL,
...
)
peakanno(
peakInput,
tssRegion = c(-1000, 1000),
TxDb = NULL,
level = "transcript",
genomicAnnotationPriority = c("Promoter", "5UTR", "3UTR", "Exon", "Intron",
"Downstream", "Intergenic"),
annoDb = NULL,
addFlankGeneInfo = FALSE,
flankDistance = 5000,
sameStrand = FALSE,
ignoreOverlap = FALSE,
ignoreUpstream = FALSE,
ignoreDownstream = FALSE,
overlap = "TSS",
annoOutput = NULL,
...
)
|
atacProc |
|
peakInput |
|
tssRegion |
Region range of TSS, default:c(-1000, 1000). |
TxDb |
TxDb object, annotation database. |
level |
"transcript" or "gene". |
genomicAnnotationPriority |
genomic annotation priority. |
annoDb |
Gene annotation database. |
addFlankGeneInfo |
logical, add flanking gene information from the peaks. |
flankDistance |
distance of flanking sequence. |
sameStrand |
logical, whether find nearest/overlap gene in the same strand. |
ignoreOverlap |
logical, whether ignore overlap of TSS with peak. |
ignoreUpstream |
logical, if True only annotate gene at the 3' of the peak. |
ignoreDownstream |
logical, if True only annotate gene at the 5' of the peak. |
overlap |
one of 'TSS' or 'all', if overlap="all", then gene overlap with peak will be reported as nearest gene, no matter the overlap is at TSS region or not. |
annoOutput |
|
... |
Additional arguments, currently unused. |
An invisible ATACProc-class
object scalar for
downstream analysis.
Wei Zhang
Guangchuang Yu, Li-Gen Wang, Qing-Yu He. ChIPseeker: an R/Bioconductor package for ChIP peak annotation, comparison and visualization. Bioinformatics 2015, 31(14):2382-2383
atacPeakCalling
atacGOAnalysis
1 2 3 4 5 6 7 8 | library(R.utils)
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
p1bz <- system.file("extdata", "Example_peak1.bed.bz2", package="esATAC")
peak1_path <- as.vector(bunzip2(filename = p1bz,
destname = file.path(getwd(), "Example_peak1.bed"),
ext="bz2", FUN=bzfile, overwrite=TRUE, remove = FALSE))
#peakanno(peakInput = peak1_path, TxDb = TxDb.Hsapiens.UCSC.hg19.knownGene,
#annoDb = 'org.Hs.eg.db')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.