view,GenoGAM-method {GenoGAM} | R Documentation

## View the dataset

### Description

Cbinding the columns all together and coercing to data.frame

### Usage

    ## S4 method for signature 'GenoGAM'
    view(object, ranges = NULL, seqnames = NULL,
      start = NULL, end = NULL)

### Arguments

`object` | A `GenoGAM` object
`ranges` | A `GRanges` object. Makes it possible to select regions by `GRanges`. Either ranges or seqnames, start and end must be supplied
`seqnames` | A chromosomes name. Either ranges or seqnames, start and end must be supplied
`start` | A start site. Either ranges or seqnames, start and end must be supplied
`end` | An end site. Either ranges or seqnames, start and end must be supplied

### Value

A data.frame of the selected data.

### Author(s)

Georg Stricker georg.stricker@in.tum.de

### Examples

    gg <- makeTestGenoGAM()
    gr <- GRanges("chrI", IRanges(1,40))
    head(view(gg, gr))

[Package GenoGAM version 1.8.0 Index]