get_composition: Decomposition tables of the data-adaptive parameter after...

Description Usage Arguments Value Examples

View source: R/get_summary.R

Description

Customized informative tables for examining data-adaptive statistics.

Usage

1
get_composition(object, type = "small")

Arguments

object

(data_adapt) - object of class data_adapt as returned by adaptest

type

(character) - 'small' or 'big'. 'small' mode returns composition of data-adaptive parameters after multiple testing stage. 'big' mode returns composition of data-adaptive parameters before multiple testing stage.

Value

(numeric matrix) containing what fraction of the data-adaptive parameter comes from which biomarker in the original dataset.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
set.seed(1234)
data(simpleArray)
simulated_array <- simulated_array
simulated_treatment <- simulated_treatment

adaptest_out <- adaptest(Y = simulated_array,
                         A = simulated_treatment,
                         W = NULL,
                         n_top = 5,
                         n_fold = 3,
                         learning_library = 'SL.glm',
                         parameter_wrapper = adaptest::rank_DE,
                         absolute = FALSE,
                         negative = FALSE)
get_composition(adaptest_out, type = 'small')

adaptest documentation built on April 28, 2020, 7:24 p.m.