Count from beds to make count matrix
countFromBed(Bed, GR, notStranded = TRUE, interFeature = FALSE)
BED bed files containing mapped reads.
genomic ranges object over which to count.
if strand information should be considered when counting, TRUE (ignore strand) or FALSE (consider strand; default).
discard reads mapping to multiple features, TRUE or FALSE (default).
count matrix.
testFasta <- system.file("extdata/hg19Small.fa",package="CLIPflexR")
myIndex <-suppressWarnings(bowtie2_index(testFasta, overwrite = TRUE))