offset<- {BioQC} | R Documentation

## Set the offset of an `IndexList` or a `SignedIndexList` object

### Description

Set the offset of an `IndexList` or a `SignedIndexList` object

### Usage

    `offset<-`(object, value)

    ## S4 replacement method for signature 'IndexList,numeric'
    offset(object) <- value

    ## S4 replacement method for signature 'SignedIndexList,numeric'
    offset(object) <- value

### Arguments

`object` | An `IndexList` or a `SignedIndexList` object
`value` | The value, that the offset of `object` is set too. If it isn't an integer, it's coerced into an integer.

### Examples

    myIndexList <- IndexList(list(1:5, 2:7, 3:8), offset=1L)
    offset(myIndexList)
    offset(myIndexList) <- 3
    offset(myIndexList)

[Package BioQC version 1.18.0 Index]