sample_plot {mdp} | R Documentation

## Plot sample scores Plots the sample scores data.frame for a given geneset. Data frame must have Score, Sample and Class columns

### Description

Plot sample scores Plots the sample scores data.frame for a given geneset. Data frame must have Score, Sample and Class columns

### Usage

    sample_plot(sample_data, filename = "", directory = "", title = "",
      print = TRUE, display = TRUE, control_lab)

### Arguments

`sample_data` | `data frame` of sample score information for a geneset. Must have columns 'Sample', 'Score' and 'Class'
`filename` | (optional) character string that will be added to the saved pdf filename
`directory` | (optional) character string of directory to save file
`title` | (optional) character string of title name for graph
`print` | (default TRUE) Save as a pdf file
`display` | (default TRUE) Display plot
`control_lab` | (optional) character string Specifying control_lab will set the control class as light blue as a default

### Value

generates a plot of the sample scores

### Examples

    sample_plot(sample_data = sample_data, control_lab = 'baseline')

[Package mdp version 1.0.0 Index]