find_gg: Find GG

Description Usage Arguments Value Examples

View source: R/06_find_primespacers.R

Description

Find GG

Usage

1
find_gg(gr)

Arguments

gr

GRanges-class

Value

GRanges-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# PE example
#-----------
    require(magrittr)
    bsgenome <- BSgenome.Hsapiens.UCSC.hg38::BSgenome.Hsapiens.UCSC.hg38  
    gr <- char_to_granges(c(PRNP = 'chr20:4699600:+',            # snp
                            HBB  = 'chr11:5227002:-',             # snp
                            HEXA = 'chr15:72346580-72346583:-',   # del
                            CFTR = 'chr7:117559593-117559595:+'), # ins
                          bsgenome)
    gr %<>% extend_pe_to_gg(plot = TRUE) %>% add_seq(bsgenome) 
    find_gg(gr)

multicrispr documentation built on Nov. 8, 2020, 5:10 p.m.