rctbl_mhyp: Reactable table for multihyp objects

View source: R/reactable.R

rctbl_mhypR Documentation

Reactable table for multihyp objects

Description

Reactable table for multihyp objects

Usage

rctbl_mhyp(
  mhyp,
  show_emaps = FALSE,
  show_hmaps = FALSE,
  hyp_emap_args = list(top = 25, val = "fdr"),
  hyp_hmap_args = list(top = 25, val = "fdr")
)

Arguments

mhyp

A multihyp object

show_emaps

Option to show enrichment maps in tabs

show_hmaps

Option to show hiearchy maps in tabs

hyp_emap_args

A list of keyword arguments passed to hyp_emap

hyp_hmap_args

A list of keyword arguments passed to hyp_hmap

Examples

genesets <- msigdb_gsets("Homo sapiens", "C2", "CP:KEGG")$genesets[1:5]

experiment <- list("S1"=c("IDH3B","DLST","PCK2","CS","PDHB","PCK1","PDHA1","LOC642502"),
                   "S2"=c("PDHA2","LOC283398","FH","SDHD","OGDH","SDHB","IDH3A","SDHC"))

mhyp_obj <- hypeR(experiment, genesets, background=2522)

rctbl_mhyp(mhyp_obj)


montilab/hypeR documentation built on Oct. 29, 2023, 12:01 p.m.