as.GmtList {BioQC} | R Documentation |
Convert a list of gene symbols into a gmtlist
as.GmtList(list, description = NULL, uniqGenes = TRUE, namespace = NULL)
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 |
testVec <- list(GeneSet1=c("AKT1", "AKT2"), GeneSet2=c("MAPK1", "MAPK3"), GeneSet3=NULL) testVecGmtlist <- as.GmtList(testVec)