complement_bed | R Documentation |
This function returns all intervals in a genome that are not covered by at least one interval in the input.
complement_bed(x, genome = NULL)
x |
A |
genome |
Specify the reference genome for the BED file. |
A GRanges
which is the complement of x
.
Manual page of bedtools complement
:
https://bedtools.readthedocs.io/en/latest/content/tools/complement.html
subtract_bed()
# Load BED tables tbl <- read_bed(system.file("extdata", "example_merge.bed", package = "bedtorch"), use_gr = FALSE) # Basic usage result <- complement_bed(tbl, "hs37-1kg") head(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.