This function will create a named vector of collapsed names of named genesets list, separated by '; '
getGenePathways(genesets)
genesets | A named list of features in row names of dataMatrix. |
---|
A named vector
## Read in ExpressionSet object library(Biobase) data(sample.ExpressionSet) ## Create dummy set of gene sets genes <- rownames(sample.ExpressionSet) genesetsMadeUp <- list( GS1=genes[1:50], GS2=genes[51:100], GS3=genes[101:150]) head(getGenePathways(genesetsMadeUp))#> AFFX-MurIL2_at AFFX-MurIL10_at AFFX-MurIL4_at AFFX-MurFAS_at AFFX-BioB-5_at #> "GS1" "GS1" "GS1" "GS1" "GS1" #> AFFX-BioB-M_at #> "GS1"