subset,GenoGAM-method {GenoGAM} | R Documentation

## Subset method for `GenoGAM`

### Description

Subsetting the `GenoGAM` by a logical statement

### Usage

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

### Arguments

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

### Value

A subsetted `GenoGAM` object.

### Author(s)

Georg Stricker georg.stricker@in.tum.de

### Examples

    gg <- makeTestGenoGAM()
    subset(gg, pos <= 40)

[Package GenoGAM version 1.8.0 Index]