Skip to contents

Compute bootstrap model coefficients for BEAM

Usage

compute_beam_stats(beam.data, beam.specs, stdize = TRUE)

Arguments

beam.data

Result of prep.beam.data

beam.specs

A data.frame of strings with columns name, mtx, mdl (string with R model with mtx.row)

stdize

Logical whether to standardize (center and scale) predictors or not. Default is TRUE.

Value

A beam.stats object, which is a list with beam.stats (the association matrices), the beam.specs, and the beam.data

Examples

data(beam_dat_sm)
data(beam_specs_sm)
test.beam.stats <- compute_beam_stats(beam.data=beam_dat_sm,
                                      beam.specs=beam_specs_sm, stdize=TRUE)
#> Working on analysis 1 of 2 : Tue Jul 30 13:51:19 2024
#> Lesionlm(MRD29~mtx.row,data=main.data,model=T)
#>   Working on bootstrap 0 of 3 : Tue Jul 30 13:51:19 2024
#> Working on analysis 2 of 2 : Tue Jul 30 13:51:19 2024
#> RNAlm(MRD29~mtx.row,data=main.data,model=T)
#>   Working on bootstrap 0 of 3 : Tue Jul 30 13:51:19 2024