dge_CollapseKeggLists: Collapse a set of KeggGeneLists into one list of vectors

View source: R/dge_CollapseKeggLists.R

dge_CollapseKeggListsR Documentation

Collapse a set of KeggGeneLists into one list of vectors

Description

The idea here is that if you run a DGE experiment with multiple comparisons, you'll probably be vectorizing your whole analysis. However, at the end, when you want to show heatmaps of significant genes in pathways, it'll be helpful to take your list of significant KEGG terms (one set per comparison) and make a single, main list that contains all significant genes for all signficiant pathways, so that your heatmap (which will contain all samples) is representative. This function does exactly that.

Usage

dge_CollapseKeggLists(keggResList)

Arguments

keggResList

List of results from running multiple dge_GetKeggGeneLists() commands, likely from vectorizing it over multiple dge_RunPathview requests.

Value

A single list of named vectors, like the output of dge_GetKeggGeneLists: one vector per pathway, contains all sig genes in the pathway.


NKInstinct/seqHelpers documentation built on Aug. 20, 2022, 4:30 a.m.