Description Usage Arguments Value Examples

View source: R/binary_matrix.R

If a and b denote two genomic regions, check whether they overlap
reciprocally by `p`

*100

1 | ```
pReciprocalOverlap(a, b, p)
``` |

`a` |
GRanges object storing first region |

`b` |
GRanges object storing second region |

`p` |
Numeric value in [0, 1] giving the fraction of reciprocal overlap to require. |

Logical value, TRUE if `a`

and `b`

are the same
by having a p-reciprocal overlap, FALSE otherwise

1 2 3 4 5 6 | ```
a <- GRanges(seqnames = "chr11",
ranges = IRanges(start = 112829468, end = 112834468))
b <- GRanges(seqnames = "chr11",
ranges = IRanges(start = 112829468, end = 113834468))
pReciprocalOverlap(a, b, 0.9)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.