man/convertToMinMaxGRanges.Rd
0544b00a
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/completeSpacers.R
 \name{convertToMinMaxGRanges}
 \alias{convertToMinMaxGRanges}
1ac1cc7f
 \title{Convert a GuideSet object into a GRanges containing the range of 
     all targeting gRNAs.}
0544b00a
 \usage{
 convertToMinMaxGRanges(guideSet, anchor = c("cut_site", "pam_site"))
 }
 \arguments{
 \item{guideSet}{A \linkS4class{GuideSet} object.}
 
 \item{anchor}{A character string specifying which gRNA-specific coordinate
 to use (\code{cut_site} or \code{pam_site}) when definining the min
 and max coordinates of \linkS4class{GuideSet} object.}
 }
 \value{
 A GRanges object with start and end coordinates
     corresponding to the minimum and maximum coordinates of the GuideSet
     object sites defined by \code{anchor}.
 }
 \description{
 Convert a GuideSet object into a GRanges object containing 
1ac1cc7f
    the minimum and maximum coordinates for all targeting gRNAs.
0544b00a
 }
 \examples{
 data(guideSetExample, package="crisprDesign")
 gr <- convertToMinMaxGRanges(guideSetExample)
 
 }
 \author{
1ac1cc7f
 Jean-Philippe Fortin, Luke Hoberecht
0544b00a
 }