renderFeatureStatsDataTable: Creates a DT::datatable of feature level statistics for use...

Description Usage Arguments

View source: R/shiny-utils.R

Description

We often want to display an interactive table of feature level statistics for all features. This function is a convenience wrapper to do that.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
renderFeatureStatsDataTable(
  x,
  features = NULL,
  digits = 3,
  columns = NULL,
  feature.link.fn = NULL,
  order.by = "logFC",
  order.dir = c("desc", "asc"),
  filter = "none",
  length.opts = c(10, 25, 50, 100, 250)
)

Arguments

x

A MultiGSEAResult or data.frame of feature level statistics. When x is a MultiGSEAResult, the logFC feature level statistics will be extracted for display.

features

A character vector that specifies the subset of feature_id's to display from x. If NULL (default), all of x will be used.

digits

number of digits to round the numeric columns to

columns

the columns from x to use. If missing, then only c('symbol', 'feature_id', 'logFC', 'pval', 'padj', order.by) will be used. If explicitly set to NULL all columns will be used.

feature.link.fn

A funcion that receives the data.frame of statistics to be rendered and transforms one of its columns into a hyperlink for further reference. Refer to the ncbi.entrez.link function as an example


lianos/multiGSEA.shiny documentation built on Sept. 15, 2020, 10:45 p.m.