diff_peaks | R Documentation |
Identify differential peaks based on edgeR, samples of peaks need to be divided into at least two groups.
diff_peaks(Count, Group)
Count |
data.frame, indicating counts of peaks, generated by htseq-count. If you calculate counts for each sample separately, you need to run merge_sort_count() function firstly. |
Group |
vector or factor giving the experimental group/condition for each sample/library. |
return FDR q-value and foldchange of each peak, which can be used to identify differential peaks.
load(system.file("extdata", "test_peak.rda", package = "IReNA"))
group <- c(1,1,2,2)
peaks <- diff_peaks(test_peak[,4:7],group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.