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 16, 2020, 8:06 p.m.