filter_genes {crossmeta} | R Documentation

## Filter genes in RNA-seq ExpressionSet

### Description

Uses filterByExpr to filter based on 'counts' assay or 'exprs' assay if 'counts' isn't available (for ARCHS4 data).

### Usage

    filter_genes(eset)

### Arguments

`eset` | ExpressionSet with 'counts' assayDataElement and group column in pData

### Value

filtered `eset`

### See Also

filterByExpr

### Examples

    # example ExpressionSet
    dds <- DESeq2::makeExampleDESeqDataSet()
    eset <- Biobase::ExpressionSet(DESeq2::counts(dds))
    eset$group <- dds$condition
    eset <- filter_genes(eset)

[Package crossmeta version 1.20.0 Index]