multi_buildClin {GenVisR} | R Documentation |
given a data frame with columns names sample, variable, and value create a ggplot2 object
multi_buildClin(x, clin.legend.col = 1, clin.var.colour = NULL, clin.var.order = NULL, clin.layers = NULL)
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 |
a grob object