plot_portrait: Plot Tox Portrait

Description Usage Arguments Value

View source: R/som_plots.R

Description

Plot Tox Portrait

Usage

1
2
3
4
5
6
7
plot_portrait(nodelist, tox_universe = NULL, grid = NULL,
  tcta_paramframe = NULL, substance = NULL, time_hpe,
  concentration_level, concentration_umol_l = NULL, type = c("code",
  "median", "modeled", "parameter", "animated"), parameter = NULL,
  onlysig = c(TRUE, FALSE), siglevel = NULL, CIdiff = NULL,
  output = c("plot", "data"), legend = FALSE, logy = FALSE,
  colvec = NULL, maxSmax = NULL)

Arguments

nodelist

A nodelist created with toxprofileR::create_nodelist()

tox_universe

Toxicogenomic universe

grid

grid of toxicogenomic universe

tcta_paramframe

Optional, dataframe containing fitted parameter values for each node

substance

Optional, substance name

time_hpe

Time point to be plotted

concentration_level

Concentration level to be plotted

concentration_umol_l

concentration for prediction

type

character string, type of response to be plotted; Possible values are "code", "median", "modeled", "parameter"

parameter

Optional, name of parameter to be plotted

onlysig

logical, if reponse should be filtered to signficant values

siglevel

vector of significant effect levels

CIdiff

CIdiff

output

character string, if the output should be plotted ("plot") or plot data should be given as output ("data")

legend

logical, should a legend be given out (default: F)

logy

logical should parameter value be log-scaled

colvec

custom vector for colorscale

maxSmax

maxSmax

Value

either a ggplot printed or ggplot data, depending on the parameter "output"


anschue/toxprofileR documentation built on Nov. 2, 2019, 1:55 p.m.