Coordinates-class {GenoGAM} | R Documentation

## Coordinates class

### Description

This class mainly exists to overcome the lack of long integer use in R and the IRanges class in particular. The object is basically a restricted DataFrame object, with a few custom methods to mimic the behaviour of IRanges.

Coordinates is the constructor function for the Coordinates-class.

### Usage

    Coordinates(start = NULL, end = NULL)

    ## S4 method for signature 'Coordinates'
    length(x)

    ## S4 method for signature 'Coordinates'
    nrow(x)

    ## S4 method for signature 'Coordinates'
    ncol(x)

    ## S4 method for signature 'Coordinates'
    start(x)

    ## S4 method for signature 'Coordinates'
    end(x)

    ## S4 method for signature 'Coordinates'
    width(x)

    ## S4 replacement method for signature 'Coordinates'
    end(x) <- value

    ## S4 replacement method for signature 'Coordinates'
    start(x) <- value

    ## S4 method for signature 'Coordinates'
    width(x)

### Arguments

`start` | The start vector, must be of same length as the end vector
`end` | The end vector, must be of same length as the start vector
`x` | The Coordinates object
`value` | A numeric vector. For replace method in 'start' and 'end'.

### Value

An object of class Coordinates

### Methods (by generic)

- `length`: The length method

- `nrow`: The nrow method

- `ncol`: The ncol method

- `start`: The start accessor

- `end`: The end accessor

- `width`: The width accessor

- `end<-`: Replacement method for end

- `start<-`: Replacement method for end

- `width`: The width accessor

### Author(s)

Georg Stricker georg.stricker@in.tum.de

[Package GenoGAM version 2.6.0 Index]