plotStudy {OmicNavigator} | R Documentation |
Plot a feature using a custom plotting function
Description
Plot a feature using a custom plotting function
Usage
plotStudy(study, modelID, featureID, plotID, testID = NULL, libraries = NULL)
Arguments
study |
An OmicNavigator study. Either an object of class |
modelID |
Filter by modelID |
featureID |
Filter by featureID |
plotID |
Filter by plotID |
testID |
Filter by testID |
libraries |
The directories to search for installed study packages. If
left as |
Details
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.
Value
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"
.