add_es: Add metaMA effectsize values to top table.

Description Usage Arguments Value Examples

View source: R/add_es.R

Description

Adds moderated unbiased standardised effect sizes (dprimes) to top table from differential expression analysis.

Usage

1
add_es(tt, ebfit, cols = c("dprime", "vardprime"), groups = c("test", "ctrl"))

Arguments

cols

Columns from effectsize result to add to top table.

diff_exprs

Result from call.

Value

diff_exprs with specified columns added to top_table.

Examples

1
2
3
4
5
6
7
8
# location of previously saved analysis
data_dir <- system.file('extdata', 'IBD', package = 'drugseqr')

# load previous analysis for eset
anal <- readRDS(file.path(data_dir, 'diff_exprs_symbol.rds'))

# add dprime and vardprime to top tables
anal <- add_es(anal)

hms-dbmi/drugseqr documentation built on Aug. 8, 2020, 2:03 a.m.