summaryHTMLTable.sparrow: Creates an HTML-ized version of 'tabuleResults'

View source: R/shiny-utils.R

summaryHTMLTable.sparrowR Documentation

Creates an HTML-ized version of tabuleResults

Description

The table produced here is broken into two sections (left and right). The left provides meta information about the geneset collections tested, ie. their names and number of genesets the contain. The right contains columns of results

Usage

summaryHTMLTable.sparrow(x, names = sparrow::resultNames(x), max.p, p.col)

Arguments

x

A SparrowResult() object.

names

the names of the GSEA methods to be reported. By default, this function will display results for all methods.

max.p

The maximum padj value to consider a result significant

p.col

use padj or padj.by.collection?

Value

a tagList version of an HTML table for use in a shiny app

Examples

sr <- sparrow::exampleSparrowResult()
summaryHTMLTable.sparrow(sr, max.p = 0.10, p.col = "padj")

lianos/sparrow.shiny documentation built on Oct. 12, 2023, 2:43 a.m.