cox.plot: Forest plot for uni/multivariable Cox regressions

View source: R/coxregs.R

cox.plotR Documentation

Forest plot for uni/multivariable Cox regressions

Description

Plotting (Forest plot) of uni/multivariable Cox regressions.

Usage

cox.plot(
  pop.cutoff.obj,
  time.var,
  event.var,
  cox.type,
  variables,
  ref.var,
  xlim = c(0, 10),
  return.stats = T,
  log.scale = F,
  hide.nosig = F
)

Arguments

pop.cutoff.obj

An object generated through FlowCT::pop.cutoff().

time.var

Survival time variable.

event.var

Variable with event censoring.

cox.type

Cox regression type: "unicox" or "multicox".

variables

Vector with variables for performing the regression. If nothing is detailed (NULL, default), all immune's cutoffs will be used.

ref.var

Variable for being used as reference. Default, alphabetical order.

xlim

Limits for x-axis plotting. Default = c(0,10).

return.stats

Logical indicating if calculated statistics must be returned. Default = TRUE.

log.scale

Should x-axis be log-transformed (log10). Default = FALSE.

hide.nosig

Hide non-significant cell populations. Default = FALSE.

Examples

## Not run: 
unicox <- cox.plot(pop.cutoff.obj = pop_cuts, time.var, event.var, 
   cox.type = "multicox", ref.var = "low")

## End(Not run)

jgarces02/FlowCT documentation built on March 28, 2023, 12:42 p.m.