unbound.Rd
Generate a sequence of consecutive numbers from a bounds
vector.
unbound(start, end = NULL)
start | vector of starting values, or a matrix containing starting and
end values such as that obtained from |
---|---|
end | vector of (maximal) end values, such as that obtained from
|
This is a simple utility function that does the opposite of the
bounds
function. If start
is a vector, end
must
be a vector having the same length as start
. If start
is a
matrix with column names contain 'start' and 'end', such as that returned
from bounds
, end
can be skipped and both starting and
end values will be extracted from start
.
Returns a numeric sequence vector.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
Barry Grant
#> [1] 1 2 3 4 5 8 10 11 12 13 14 15