filterSet-methods: Filter a MethylationSet, an ExpressionSet or a SnpSet

Description

Filter a MethylationSet, an ExpressionSet or a SnpSet

Usage

1

Arguments

set

MethylationSet, ExpressionSet or a SnpSet

range

GenomicRanges with the desired range.

Value

MethylationSet, ExpressionSet or a SnpSet with only the features of the range.

Examples

1
2
3
4
5
6
7
8
if (require(minfiData) & require(GenomicRanges)){
range <- GRanges(seqnames=Rle("chrY"), 
ranges = IRanges(3000000, end=12300000))
set <- prepareMethylationSet(MsetEx[1:100, ], pData(MsetEx))
set
filteredset <- filterSet(set, range)
filteredset
}

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.