Description Usage Arguments Value Examples
View source: R/filter_loci_by_location.R
A function to remove loci from a BSseq
object based on intersection with loci in a GRanges
object.
1 |
bs |
a |
gr |
a |
A BSseq
object with loci intersecting gr
removed.
1 2 3 4 5 6 7 8 9 | data(bsseq_stranded, package = 'methylSig')
regions = GenomicRanges::GRanges(
seqnames = c('chr1','chr1','chr1','chr1'),
ranges = IRanges::IRanges(
start = c(5,25,45,70),
end = c(15,40,55,80)
)
)
filtered = filter_loci_by_location(bs = bsseq_stranded, gr = regions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.