Learn R Programming

GenoGAM (version 1.0.2)

subset,GenoGAMDataSet-method: Subset method for GenoGAMDataSet

Description

Subsetting the GenoGAMDataSet by a logical statement

Usage

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

Examples

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

Run the code above in your browser using DataLab