makeFilterExpression: Build Filter Expressions from Sets

Description Usage Arguments Value Author(s) Examples

Description

This function create a list of unevaluated expressions representing a collection of signatures. The resulting expressions can be evaluated as FilterRules inside an environment such as a data.frame of sample-by-gene detection events.

Usage

1
2
3
4
5
6
7
makeFilterExpression(object)

## S4 method for signature 'GeneSetCollection'
makeFilterExpression(object)

## S4 method for signature 'Sets'
makeFilterExpression(object)

Arguments

object

An object of class inheriting from Sets or GeneSetCollection.

Value

A list of expression that combines the markers listed in each gene set.

Author(s)

Kevin Rue-Albrecht

Examples

1
2
3
4
5
6
7
8
# Example data ----

library(unisets)
gmt <- system.file(package = "hancock", "extdata", "seurat_pbmc3k.gmt")
genesets <- import(gmt)

# Example usage ----
fe <- makeFilterExpression(genesets)

kevinrue/hancock documentation built on May 17, 2020, 7:55 a.m.