A helper function for building the peak statistics tibble

peak_stats(x, xshuff, y, chromSizeTbl, quiet = FALSE)

Arguments

x

The R-loop peaks to test.

xshuff

x, but shuffled around the genome to build a control peakset.

y

The annotations against which to test x.

chromSizeTbl

A tibble containing the sizes of each chromosome in x and y.

quiet

If TRUE, messages will be suppressed. Default: FALSE

Value

A tibble containing the test results.