View source: R/GeneSet_Exprs.R
| GeneSet_Exprs | R Documentation | 
Exports Expression data for a GeneSet of interest
GeneSet_Exprs(
  GSEA_Hotgenes = NULL,
  normalizedData = 1,
  contrastID = 1,
  pathwayID = 1
)
GSEA_Hotgenes | 
 HotgenesObj appended by BatchGSEA function  | 
normalizedData | 
 indicates the normalized data in HotgenesObj to return.  | 
contrastID | 
 contrast selection  | 
pathwayID | 
 String or numeric index indicating the desired pathway  | 
Expresion data
Example_Hotgenes_dir<-system.file("extdata",
"Example_Hotgenes.Rdata",
package = "Hotgenes", mustWork = TRUE)
load(Example_Hotgenes_dir)
library(msigdbr)
m_df = msigdbr(species = "Homo sapiens", category = "C5", subcategory = "BP")
qbat<-BatchGSEA(m_df= m_df, HotgenesObj=Example_Hotgenes)
expsD<-GeneSet_Exprs(GSEA_Hotgenes=qbat)
library(pheatmap)
pheatmap(expsD$E,scale = "row",
main=expsD$Main)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.