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

Description Usage Arguments Examples

View source: R/readGmt.R

Description

Convert a list of gene symbols into a gmtlist

Usage

1
as.gmtlist(list, description = NULL)

Arguments

list

A named list with character vectors of genes. Names will become names of gene sets; character vectors will become genes

description

description; will be expanded to the same length of the list

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. 1, 2018, 2:12 a.m.