tilingProbes {biocDatasets}R Documentation

Create tiling probes or ranges

Description

Create tiling probes or ranges

Usage


tilingProbes(width, step, template_seq)

tilingIRanges(width, step, from, to)

Arguments

from start position for the tiling
step increment in the starting index between one probe and the next.
template_seq template sequence from which tiling probes are to be extracted
to end position for the tiling
width width for the probes

Value

tilingProbes and tilingIRanges return a DNAStringSet and a IRanges respectively.

Examples


dna <- randomDNASequences(1, 30)[[1]]

tip <- tilingProbes(10, 2, dna)

# ASCII-art
cat(as.character(dna), "\n")
for (i in 1:length(tip)) {
  cat(paste(rep("|", (i-1)*2), collapse=""),
      as.character(tip[[i]]), "\n",
      sep="")
}
cat(as.character(dna), "\n")


[Package biocDatasets version 1.0.0 Index]