Description Usage Arguments Details Value Author(s) Examples
This compares the BED regions from running MACS to the
nearest ENSEMBL Gene, and to CpG islands. This uses
annotatePeakInBatch
from
ChIPpeakAnno, which has a very loose definition of close,
ie within 0.5Mb.
1 2 3 | annotate.macs.output(dir,
genome = c("hg19", "hg18", "mm9", "rn4"), tss = TRUE,
cpg = TRUE)
|
dir |
the path to a MACS peaks.annot directory |
genome |
one of ‘hg18’, or ‘hg19’ |
tss |
logical: if |
cpg |
logical: if |
This uses pre-built CpG island definitions downloaded from UCSC.
nothing. it writes a <prefix>_peaks_annot.xls file. There
are a block of columns for the nearest TSS, and a block
for CpG islands. To interpret the new columns, see
annotatePeakInBatch
. These
columns include:
Ensembl ID |
The Ensembl Gene ID of the nearest TSS |
GeneSymbol |
The GeneSymbol assigned to the ENSG |
start_position |
start position of the feature: TSS or CpG |
end_position |
end position of the feature: TSS or CpG |
strand |
1 or + for positive strand and -1 or - for negative strand where the feature is located |
insideFeature |
One of these keywords:
|
distancetoFeature |
distance to the nearest feature. By default, the distance is calculated as the distance between the start of the binding site and the TSS that is the gene start for genes located on the forward strand and the gene end for genes located on the reverse strand. |
shortestDistance |
The shortest distance from either end of peak to either end the feature |
fromOverlappingOrNearest |
One of these keywords: |
Mark Cowley, 2012-03-01
1 2 3 4 5 | ## Not run:
dir <- "./MACS/TAMR.H3k4Me3.vs.MCF7.H3k4Me3/"
annotate.macs.output(dir, "hg19")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.