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

Description Usage Arguments Value Examples

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
}


Search within the MEAL package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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