Creates a plot showing expression of individual genes across a geneset.

ggGeneset(geneSet, gs.scores, res)

Arguments

geneSet

character vector of geneSets to pull out from gs.scores (use a for loop to run over many geneSets)

gs.scores

list that contains trimmed.geneSets list with gene_ids in each geneSet; named according to geneSets; could just construct a named list (with matching names in geneSet) with gene_id as a character vector

res

results(dds) data.frame object from DESeq2 with gene_id, log2FoldChanges and lfcSE vectors contained

Examples

## Boo
Reformat results object just in case
Extract genes from gs.scores from runGSEA
Filter out results object based on genes in geneSet
Plot that puppy