uniqueMarkerNames and uniqueSetNames extract the character vectors of unique marker and set names from objects that store collections of gene sets.

uniqueMarkerNames(object)

uniqueSetNames(object)

# S4 method for GeneSetCollection
uniqueMarkerNames(object)

# S4 method for GeneSetCollection
uniqueSetNames(object)

# S4 method for Sets
uniqueMarkerNames(object)

# S4 method for Sets
uniqueSetNames(object)

Arguments

object

An object of class inheriting from Sets or GeneSetCollection.

Value

A character vector of unique set or marker names across all gene sets.

Examples

# Example data ---- library(unisets) gmt <- system.file(package = "hancock", "extdata", "seurat_pbmc3k.gmt") genesets <- import(gmt) # Usage ---- um <- uniqueMarkerNames(genesets) us <- uniqueSetNames(genesets)