Description Usage Arguments Details Value Author(s) See Also Examples
Find common genomic regions across several samples
1 | common_regions(gr_list, min_width = 0, min_coverage = floor(length(gr_list)/4), gap = 0.5)
|
gr_list |
a list of |
min_width |
minimal width of the common regions |
min_coverage |
minimal cross-sample coverage for the common regions |
gap |
gap to merge common regions, pass to |
A common region is defined as a region which covers in at least k samples.
The output can be sent to subgroup_specific_genomic_regions
to find subgroup
specific regions.
A GRanges
object contains coordinates of common regions. The columns in meta data
are percent of the common region which is covered by regions in every sample.
Zuguang Gu <z.gu@dkfz.de>
The returned variable can be sent to subgroup_specific_genomic_regions
to find subgroup specific regions.
1 2 3 4 5 6 7 8 9 | gr_list = list(
gr1 = GRanges(seqnames = "chr1", ranges = IRanges(1, 8)),
gr2 = GRanges(seqnames = "chr1", ranges = IRanges(3, 9)),
gr3 = GRanges(seqnames = "chr1", ranges = IRanges(2, 7)),
gr4 = GRanges(seqnames = "chr1", ranges = IRanges(c(1, 6), c(4, 10))),
gr5 = GRanges(seqnames = "chr1", ranges = IRanges(c(1, 9), c(3, 10)))
)
common_regions(gr_list, min_coverage = 4, gap = bp(1))
common_regions(gr_list, min_coverage = 4, gap = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.