Description Usage Arguments Value See Also Examples
Performs set operations on GAlignments objects.
NOTE: The pintersect
generic function and method
for IntegerRanges objects is defined and documented in the
IRanges package.
Methods for GRanges and
GRangesList objects are defined and
documented in the GenomicRanges package.
1 2 3 4 | ## S4 method for signature 'GAlignments,GRanges'
pintersect(x, y, ...)
## S4 method for signature 'GRanges,GAlignments'
pintersect(x, y, ...)
|
x, y |
A GAlignments object and a GRanges object. They must have the same length. |
... |
Further arguments to be passed to or from other methods. |
A GAlignments object parallel to (i.e. same length as)
x
and y
.
The GAlignments class.
The setops-methods man page in the GenomicRanges package.
1 2 3 4 | ## Parallel intersection of a GAlignments and a GRanges object:
bamfile <- system.file("extdata", "ex1.bam", package="Rsamtools")
gal <- readGAlignments(bamfile)
pintersect(gal, shift(as(gal, "GRanges"), 6L))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.