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
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BreakpointGRanges.R
\name{extractReferenceSequence}
\alias{extractReferenceSequence}
\title{Returns the reference sequence around the breakpoint position}
\usage{
extractReferenceSequence(
gr,
ref,
anchoredBases,
followingBases = anchoredBases
)
}
\arguments{
\item{gr}{breakpoint GRanges}
\item{ref}{Reference BSgenome}
\item{anchoredBases}{Number of bases leading into breakpoint to extract}
\item{followingBases}{Number of reference bases past breakpoint to extract}
}
\value{
Reference sequence around the breakpoint position.
}
\description{
Returns the reference sequence around the breakpoint position
}
\details{
The sequence is the sequenced traversed from the reference anchor bases
to the breakpoint. For backward (-) breakpoints, this corresponds to the
reverse compliment of the reference sequence bases.
}
|