Coordinates-class: Coordinates class

Description Usage Arguments Value Methods (by generic) Author(s)

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)

Author(s)

Georg Stricker georg.stricker@in.tum.de


GenoGAM documentation built on Nov. 8, 2020, 7:45 p.m.