sample_plot: Plot sample scores Plots the sample scores data.frame for a...

Description Usage Arguments Value Examples

View source: R/mdp.R

Description

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

Usage

1
2
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

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

Example output



mdp documentation built on Nov. 8, 2020, 7:51 p.m.