peak_calling | R Documentation |
exomePeak2
for MeRIP-seq dataset
peak_calling
conducts peak calling and peak statistics calculation from BAM files of a MeRIP-seq experiment.
Check and index the BAM files with scanMeripBAM
.
Call modification peaks on exons with exomePeakCalling
.
Estimate sequencing depth size factors for each MeRIP-seq samples exomePeakCalling
.
Calculate offset factors of GC content biases with estimateSeqDepth
.
Calculate (differential) modification statistics with the generalized linear model (GLM) using glmM
.
Export the peaks/sites statistics with user defined format by exportResults
.
peak_calling(IP_BAM = NULL, INPUT_BAM = NULL, GENE_ANNO_GTF = NULL, paired_end = FALSE, Genome = NA, output_dir)
IP_BAM |
a |
INPUT_BAM |
a |
GENE_ANNO_GTF |
a |
Genome |
a |
output_dir |
a |
peak_calling
call RNA modification peaks and calculate peak statistics from BAM files of a MeRIP-seq experiment based on exomePeak2
R package.
The transcript annotation from the GFF file) should be provided to perform analysis on exons.
The BSgenome
object is also required to perform the GC content bias adjustment.
If the Genome
argument is not provided (= NULL
), the downstream analysis will proceed without GC content bias corrections.
Under the default setting, peak_calling
will save the results of modification analysis under a folder named 'exomePeak2_output'
.
The results generated include a BED file and a CSV table that stores the locations and statistics of the modified peaks/sites.
peak_calling
also report the sequencing depth size factors for each MeRIP-seq samples, which are save in the same output directory in a "size_factor.Rdata" file
See Also as ?exomePeak2
## Not run: library(exomePeak2) f1 <- "./group1_IP1.bam" f2 <- "./group1_IP2.bam" f3 <- "./group1_IP3.bam" f4 <- "./group1_Input1.bam" f5 <- "./group1_Input2.bam" f6 <- "./group1_Input3.bam" group1_IP_BAM <- c(f1,f2,f3) group1_INPUT_BAM <- c(f4,f5,f6) GENE_ANNO_GTF = "./hg19_GTF/genes.gtf" ###peak calling for group1 group1_peak_calling <- peak_calling(IP_BAM=group1_IP_BAM, INPUT_BAM=group1_INPUT_BAM, GENE_ANNO_GTF=GENE_ANNO_GTF, paired_end = FALSE, Genome = "hg19" output_dir="./Group1_peakcalling") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.