plot.ssga: SSGA violin plot

Description Usage Arguments Examples

Description

Create a violin plot based on an input object of class type 'ssga'

Usage

1
2
3
## S3 method for class 'ssga'
plot(ssga.obj, B = NULL, nsamples = NULL,
  var.names = NULL, color.flag = FALSE)

Arguments

ssga.obj

An object of class 'ssga' created using ssga

B

Construct the violin plot using the top B models

nsamples

Total number of samples to use when creating violin plot for each coefficient

var.names

Labels to use for the violin plot; by default, column names from the subsettable data are used

color.flag

A TRUE/FALSE flag indicating whether to create the violin plot in color or bw

Examples

1
2
3
4
5
6
7
8
## Load ICU workspace (from aplore3 package)
load(system.file('extdata', 'ssga_icu_ws.RData', package = 'ssga'))
plot(ssga.obj, B = 100, nsamples = 1000, color.flag = TRUE)

## Load Swiss workspace
rm(list = ls(all = TRUE))
load(system.file('extdata', 'ssga_swiss_ws.RData', package = 'ssga'))
plot(ssga.obj)

tjmassaro/ssga documentation built on May 6, 2019, 7:33 a.m.