R/FisherTest.R
calFisherPeaks.Rd
A function to calculate the two group peaks enrichment based on Fisher Test.
calFisherPeaks(peak_a, peak_b)
The peak sets A you want to enrich with peak sets B.
The peak sets B you want to enrich with peak sets A.
The genome size file. Two columns: chr chr_length.
calFisherPeaks(peak_a = c("a1.bed", "a2.bed", "a3.bed"),
peak_b = c("b1.bed", "b2.bed", "b3.bed"), genome_size= "genome.txt")
#> Error in calFisherPeaks(peak_a = c("a1.bed", "a2.bed", "a3.bed"), peak_b = c("b1.bed", "b2.bed", "b3.bed"), genome_size = "genome.txt"): unused argument (genome_size = "genome.txt")