SignedGenesets: Convert a list to a SignedGenesets object

Description Usage Arguments See Also Examples

View source: R/AllClasses.R

Description

Convert a list to a SignedGenesets object

Usage

1

Arguments

list

A list of genesets; each geneset is a list of at least three fields: 'name', 'pos', and 'neg'. 'name' contains one non-null character string, and both 'pos' and 'neg' can be either NULL or a character vector.

See Also

GmtList

Examples

1
2
3
4
5
testList <- list(list(name="GS_A", pos=NULL, neg=LETTERS[1:3]),
                 list(name="GS_B", pos=LETTERS[1:5], neg=LETTERS[7:9]),
                 list(name="GS_C", pos=LETTERS[1:5], neg=NULL),
                 list(name="GS_D", pos=NULL, neg=NULL))
testSigndGS <- SignedGenesets(testList)

Accio/BioQC documentation built on Jan. 27, 2022, 10:45 p.m.