nonOverlappingGR | R Documentation |
This function returns a GRanges object containing a non-overlapping set regions derived from a supplied Genomic Ranges object.
nonOverlappingGR(gr = NULL, by = "score", decreasing = TRUE, verbose = FALSE)
gr |
A |
by |
The name of a column in |
decreasing |
A boolean value indicating whether the values in the column indicated via |
verbose |
A boolean value indicating whether the output should include extra reporting. |
# Dummy GR
gr <- GRanges(
seqnames = "chr1",
ranges = IRanges(
start = c(1, 4, 11),
end = c(10, 12, 20)
),
score = c(1, 2, 3)
)
# Non Overlapping
nonOverlappingGR(gr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.