R: Create combined sequences of sequential numbers.

multSeq {rbamtools} | R Documentation

## Create combined sequences of sequential numbers.

### Description

The function takes two vectors (of type integer) of equal length. For each entry pair (p,q) the returned vector contains p:q. Therefore c(a, b, c) and c(x, y, z) produces c(a:x, b:y, c:z).

### Usage

    multSeq(beg, end)

### Arguments

`beg` | `numeric`. Vector of start positions.

`end` | `numeric`. Vector of end positions.

### Value

Integer vector

### Author(s)

Wolfgang Kaisers

### Examples

    # MultSeq
    multSeq(c(1, 4, 7), c(2, 5, 8))

[Package rbamtools version 2.16.17 Index]