| tilingProbes {biocDatasets} | R Documentation |
Create tiling probes or ranges
tilingProbes(width, step, template_seq) tilingIRanges(width, step, from, to)
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 |
tilingProbes and tilingIRanges return
a DNAStringSet
and a IRanges respectively.
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")