plot clinical information

Share:

Description

given a data frame with columns names sample, variable, and value create a ggplot2 object

Usage

1
2
multi_buildClin(x, clin.legend.col = 1, clin.var.colour = NULL,
  clin.var.order = NULL, clin.layers = NULL)

Arguments

x

a data frame in "long" format giving additional information to be plotted, requires columns "sample", "variable", and "value"

clin.legend.col

an integer specifying the number of columns to plot in the legend

clin.var.colour

a named character vector specifying the mapping between colors and variables

clin.var.order

a character vector of variables to order the legend by

clin.layers

additional ggplot2 layers to plot

Value

a grob object

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.