Description Usage Arguments Value Examples
View source: R/07_count_offtargets.R
Add target matches
1 2 3 4 5 6 7 8 9 | add_target_matches(
spacers,
targets,
bsgenome,
mismatches = 2,
pam = "NGG",
outdir = OUTDIR,
verbose = TRUE
)
|
spacers |
GRanges |
targets |
GRanges |
bsgenome |
BSgenome |
mismatches |
number |
pam |
string |
outdir |
bowtie output directory |
verbose |
TRUE (default) or FALSE |
GRanges
1 2 3 4 5 6 7 8 | require(magrittr)
file <- system.file('extdata/SRF.bed', package='multicrispr')
bsgenome <- BSgenome.Mmusculus.UCSC.mm10::BSgenome.Mmusculus.UCSC.mm10
targets0 <- bed_to_granges(file, 'mm10')
targets <- extend(targets0)
spacers <- find_spacers(targets, bsgenome, complement = FALSE,
ontargetmethod = NULL, offtargetmethod = NULL)
spacers %<>% add_target_matches(targets, bsgenome)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.