A genesets object
A genesets object
rgsets
genesets
A named list of genesets
name
A character vector describing source of genesets
version
A character vector describing versioning
new()
Create a gsets object
gsets$new( genesets, name = "Custom", version = "", clean = FALSE, quiet = FALSE )
genesets
A named list of genesets
name
A character vector describing source of genesets
version
A character vector describing versioning
clean
Use true to clean labels of genesets
quiet
Use true to silence warnings
A new gsets object
print()
Print genesets information
gsets$print()
NULL
list()
Return genesets as a list
gsets$list()
A list of genesets
info()
Returns versioning information
gsets$info()
A character vector with name and version
reduce()
Reduces genesets to a background distribution of symbols
gsets$reduce(background)
background
A character vector of symbols
A gsets object
clone()
The objects of this class are cloneable with this method.
gsets$clone(deep = FALSE)
deep
Whether to make a deep clone.
genesets <- list("GSET1" = c("GENE1", "GENE2", "GENE3"), "GSET2" = c("GENE4", "GENE5", "GENE6"), "GSET3" = c("GENE7", "GENE8", "GENE9")) gsets_obj <- gsets$new(genesets, name="example", version="v1.0") print(gsets_obj)#> example v1.0 #> GSET1 (3) #> GSET2 (3) #> GSET3 (3)