Plot a feature using a custom plotting function
plotStudy(study, modelID, featureID, plotID, testID = NULL, libraries = NULL)
This function is called for the side effect of creating a plot. It invisibly returns the result from the custom plotting function specified by
plotID
. Previously it invisibly returned the study object. It's
unlikely you relied on this behavior. For a ggplot2 plot, the return value
will be the plotting object with class "ggplot"
.
An OmicNavigator study. Either an object of class onStudy
,
or the name of an installed study package.
Filter by modelID
Filter by featureID
Filter by plotID
Filter by testID
The directories to search for installed study packages. If
left as NULL
(the default), then
installed.packages
will use the result of
.libPaths
.
The arguments study
, modelID
, featureID
, and
testID
are passed to the function getPlottingData
, and
the nested list returned by this function is passed as the first argument to
your custom plotting function.
addPlots
, getPlottingData