bed_fisher | R Documentation |
Calculate Fisher's test on number of intervals that are shared and unique
between two sets of x
and y
intervals.
bed_fisher(x, y, genome)
x |
ivl_df |
y |
ivl_df |
genome |
genome_df |
Interval statistics can be used in combination with
dplyr::group_by()
and dplyr::do()
to calculate
statistics for subsets of data. See vignette('interval-stats')
for
examples.
ivl_df
https://bedtools.readthedocs.io/en/latest/content/tools/fisher.html
Other interval statistics:
bed_absdist()
,
bed_jaccard()
,
bed_projection()
,
bed_reldist()
genome <- read_genome(valr_example("hg19.chrom.sizes.gz"))
x <- bed_random(genome, n = 1e4, seed = 1010486)
y <- bed_random(genome, n = 1e4, seed = 9203911)
bed_fisher(x, y, genome)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.