rctbl_hyp: Reactable table for hyp objects

View source: R/reactable.R

rctbl_hypR Documentation

Reactable table for hyp objects

Description

Reactable table for hyp objects

Usage

rctbl_hyp(
  hyp,
  type = c("inner", "outer"),
  show_emaps = FALSE,
  show_hmaps = FALSE,
  hyp_emap_args = list(top = 25, val = "fdr"),
  hyp_hmap_args = list(top = 25, val = "fdr")
)

Arguments

hyp

A hyp object

type

Use style class for outer or inner tables

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]

signature <- c("IDH3B","DLST","PCK2","CS","PDHB","PCK1","PDHA1","LOC642502",
              "PDHA2","LOC283398","FH","SDHD","OGDH","SDHB","IDH3A","SDHC",
              "IDH2","IDH1","OGDHL","PC","SDHA","SUCLG1","SUCLA2","SUCLG2")

hyp_obj <- hypeR(signature, genesets, background=2522)

rctbl_hyp(hyp_obj)


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