as.GmtList: Convert a list of gene symbols into a gmtlist

Description Usage Arguments Examples

View source: R/as.GmtList.R

Description

Convert a list of gene symbols into a gmtlist

Usage

1
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

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

BioQC documentation built on Nov. 8, 2020, 7:16 p.m.