multi_buildClin {GenVisR} | R Documentation

## plot clinical information

### Description

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

### Usage

    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

[Package GenVisR version 1.8.1 Index]