Learn R Programming

GenoGAM (version 1.0.2)

subset,GenoGAM-method: Subset method for GenoGAM

Description

Subsetting the GenoGAM by a logical statement

Usage

"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.

Examples

Run this code
gg <- makeTestGenoGAM()
subset(gg, pos <= 40)

Run the code above in your browser using DataLab