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 onStudy, or the name of an installed study package.

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 NULL (the default), then installed.packages will use the result of .libPaths.

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".

See Also

addPlots, getPlottingData


[Package OmicNavigator version 1.13.13 Index]