GeneSet_Exprs: Exports Expression data for a GeneSet of interest

View source: R/GeneSet_Exprs.R

GeneSet_ExprsR Documentation

Exports Expression data for a GeneSet of interest

Description

Exports Expression data for a GeneSet of interest

Usage

GeneSet_Exprs(
  GSEA_Hotgenes = NULL,
  normalizedData = 1,
  contrastID = 1,
  pathwayID = 1
)

Arguments

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

Value

Expresion data

Examples

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)

Rvirgenslane/Hotgenes documentation built on June 15, 2024, 2:16 a.m.