junction_intersection: Get the intersection of junctions from 2 or more compilations...

Description Usage Arguments Value See Also Examples

View source: R/higher_level_functions.R

Description

This function operates similar to the junction_union() function, i.e it is cross compilation and merging of the same junction from multiple compilations will be handled exactly the same way. But instead of every junction which appears in at least one compilation, only the junctions which appear in every compilation will be returned.

Usage

1

Arguments

...

One or more QueryBuilder objects

Value

A RangedSummarizedExperiment of junctions common across compilations

See Also

junction_union()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Using query builder wrappers
sb1 <- QueryBuilder(compilation = "gtex", regions = "chr1:1879786-1879786")
sb1 <- set_coordinate_modifier(sb1, Coordinates$EndIsExactOrWithin)
sb1 <- set_row_filters(sb1, strand == "-")

sb2 <- QueryBuilder(compilation = "tcga", regions = "chr1:1879786-1879786")
sb2 <- set_coordinate_modifier(sb2, Coordinates$EndIsExactOrWithin)
sb2 <- set_row_filters(sb2, strand == "-")

junction_intersection(sb1, sb2)

snapcount documentation built on Nov. 8, 2020, 4:53 p.m.