index_targets: Index targets

Description Usage Arguments Value Examples

Description

Bowtie index targets

Usage

1
2
3
4
5
6
index_targets(
  targets,
  bsgenome = getBSgenome(genome(targets)[1]),
  outdir = OUTDIR,
  verbose = TRUE
)

Arguments

targets

GRanges-class

bsgenome

BSgenome-class

outdir

string: output directory

verbose

TRUE (default) or FALSE

Value

invisible(targetdir)

Examples

1
2
3
4
5
require(magrittr)
bsgenome <- BSgenome.Mmusculus.UCSC.mm10::BSgenome.Mmusculus.UCSC.mm10
bedfile  <- system.file('extdata/SRF.bed', package = 'multicrispr')
targets <- extend(bed_to_granges(bedfile, genome = 'mm10'))
index_targets(targets, bsgenome)

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