View source: R/deletion-utils.R
numberOverlappingDeletions | R Documentation |
Multiple hit genes. Deletions do not necessarily have to overlap so long as the two deletions both hit the same gene.
numberOverlappingDeletions(tx, grl, maxgap = 5000)
tx |
a |
grl |
a |
maxgap |
a length-one numeric vector indicating the amount of space
between a deletion and a transcript allowed to consider overlapping. This
argument is passed to |
1. list transcripts by gene 2. reduce the deletion granges for each subject to avoid over-counting overlapping hemizygous deletions as 2 hits 3. count overlaps
a data.frame
of gene names with frequencies
a GRanges
object. **The coordinates are of the reduced transcript and not the observed deletion.**
overlapsAny
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.