prep_beam_plot {BEAMR} | R Documentation |
Prepare for BEAM plotting
Description
Add a "plot" column to beam.specs, which includes string of plot commands.
Usage
prep_beam_plot(beam.data, beam.specs)
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) |
Value
An updated beam.specs object that includes the column "plot"
Examples
data(clinf)
data(omicdat)
data(omicann)
data(setdat)
test.beam.data <- prep_beam_data(main.data=clinf, mtx.data=omicdat,
mtx.anns=omicann, set.data=setdat,
set.anns=NULL, n.boot=10, seed=123)
specs <- prep_beam_specs(beam.data=test.beam.data, endpts=c("MRD29", "EFS", "OS"),
firth=TRUE)
plot.specs <- prep_beam_plot(beam.data=test.beam.data, beam.specs=specs)
[Package BEAMR version 1.1.0 Index]