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, ], data.frame(pData(MsetEx)))
set
filteredset <- filterSet(set, range)
filteredset
}

MEAL documentation built on May 31, 2017, 11:16 a.m.

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