plot.fsaModel: Plot method for "fsaModel" objects

View source: R/plot.fsaModel.R

plot.fsaModelR Documentation

Plot method for "fsaModel" objects

Description

Plots a fsaModel object.

Usage

## S3 method for class 'fsaModel'
plot(x, xlab = "Score", lwd = 3, ...)

Arguments

x

The fsaModel object to plot.

xlab

To be passed to plot.

lwd

To be passed to plot.

...

Further arguments to be passed to plot.

Value

Invisibly returns TRUE on success.

Author(s)

Sylvain Mareschal

See Also

train

Examples

  # Example FSA file provided
  fsa <- read.fsa(system.file("extdata/fsa_GEP/A5918.fsa", package="FSAtools"))
  
  # Add model from design file
  design <- designFile(system.file("extdata/design_GEP.conf", package="FSAtools"))
  fsa <- add.model(fsa, model=design$GLOBALS$MODEL)
  
  # Plot model
  plot(attr(fsa, "model"))

FSAtools documentation built on Aug. 19, 2023, 1:06 a.m.