as.GmtList {BioQC} | R Documentation

## Convert a list of gene symbols into a gmtlist

### Description

Convert a list of gene symbols into a gmtlist

### Usage

    as.GmtList(list, description = NULL, uniqGenes = TRUE, namespace = NULL)

### Arguments

`list` | A named list with character vectors of genes. Names will become names of gene sets; character vectors will become genes
`description` | Character, description of gene-sets. The value will be expanded to the same length of the list.
`uniqGenes` | Logical, whether redundant genes should be made unique?
`namespace` | Character or `NULL`, namespace of the gene-set

### Examples

    testVec <- list(GeneSet1=c("AKT1", "AKT2"),
                   GeneSet2=c("MAPK1", "MAPK3"),
                   GeneSet3=NULL)
    testVecGmtlist <- as.GmtList(testVec)

[Package BioQC version 1.22.0 Index]