subset,GenoGAMDataSet-method {GenoGAM} | R Documentation

## Subset method for `GenoGAMDataSet`

### Description

Subsetting the `GenoGAMDataSet` by a logical statement

### Usage

    ## S4 method for signature 'GenoGAMDataSet'
    subset(x, ...)

### Arguments

`x` | A `GenoGAMDataSet` object.
`...` | Further arguments. Mostly a logical statement. Note that the columnnames for chromosomes and positions are: seqnames and pos.

### Value

A subsetted `GenomicTiles` object.

### Author(s)

Georg Stricker georg.stricker@in.tum.de

### Examples

    ggd <- makeTestGenoGAMDataSet()
    res <- subset(ggd, seqnames == "chrI" & pos <= 50)

[Package GenoGAM version 1.8.0 Index]