File: partner.Rd

package info (click to toggle)
r-bioc-structuralvariantannotation 1.22.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,576 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BreakpointGRanges.R
\name{partner}
\alias{partner}
\title{GRanges representing the breakend coordinates of
structural variants
#@export
Partner breakend for each breakend.}
\usage{
partner(gr, selfPartnerSingleBreakends = FALSE)
}
\arguments{
\item{gr}{GRanges object of SV breakends}

\item{selfPartnerSingleBreakends}{treat single breakends as their own partner.}
}
\value{
A GRanges object in which each entry is the partner breakend of
those in the input object.
}
\description{
GRanges representing the breakend coordinates of
structural variants
#@export
Partner breakend for each breakend.
}
\details{
All breakends must have their partner breakend included
in the GRanges.
}
\examples{
#reading in a VCF file as \code{vcf}
vcf.file <- system.file("extdata", "gridss.vcf", package = "StructuralVariantAnnotation")
vcf <- VariantAnnotation::readVcf(vcf.file, "hg19")
#parsing \code{vcf} to GRanges object \code{gr}
gr <- breakpointRanges(vcf)
#output partner breakend of each breakend in \code{gr}
partner(gr)
}