pgu.explorer: pgu.explorer

Description Format Details Active bindings Methods Author(s)

Description

Visual exploration of the pguIMP dataset.

Format

R6::R6Class object.

Details

Pariwise anlysis of attributes from the pguIMP dataset. This object is used by the shiny based gui and is not for use in individual R-scripts!

Active bindings

rawData

Returns the instance variable rawData (tibble::tibble)

setRawData

Sets the instance variable rawData (tibble::tibble)

abscissa

Returns the instance variable abscissa (character)

setAbscissa

Sets the instance variable abscissa (character)

ordinate

Returns the instance variable ordinate (character)

setOrdinate

Sets the instance variable ordinate (character)

abscissaStatistics

Returns the instance variable abscissaStatistics (character)

ordinateStatistics

Returns the instance variable ordinateStatistics (character)

Methods

Public methods


Method new()

Tests if the abscissa attribute is of type numeric.

Tests if the ordinate attribute is of type numeric.

Summarizes the numeric values of a vector.

Calculates the statistics of the abscissa values. Stores the result in the instance variable abscissaStatistics.

Calculates the statistics of the ordinate values. Stores the result in the instance variable ordinateStatistics.

Clears the heap and indicates that instance of pgu.explorer is removed from heap.

Creates and returns a new pgu.explorer object.

Usage
pgu.explorer$new(data_df = "tbl_df")
Arguments
data_df

The data to be analyzed. (tibble::tibble)

Returns

A new pgu.explorer object. (pguIMP::pgu.optimizer)


Method print()

Prints instance variables of a pgu.explorer object.

Usage
pgu.explorer$print()
Returns

string


Method reset()

Resets the instance of the pgu.explorer class

Usage
pgu.explorer$reset(data_df = "tbl_df", abs = "character", ord = "character")
Arguments
data_df

The data to be analyzed. (tibble::tibble)

abs

The abscissa attribute (character)

ord

The ordinate attribute (character)


Method fit()

Calculates the abscissa and ordinate statistics

Usage
pgu.explorer$fit()

Method scatterPlot()

Creates and returns a scatter plot abscissa and ordinate value pairs.

Usage
pgu.explorer$scatterPlot()
Returns

Scatter plot (ggplot2::ggplot)


Method abscissaBarPlot()

Creates and returns a histogram from the abscissa values.

Usage
pgu.explorer$abscissaBarPlot()
Returns

Bar plot (ggplot2::ggplot)


Method abscissaBoxPlot()

Creates and returns a box plot from the abscissa values.

Usage
pgu.explorer$abscissaBoxPlot()
Returns

Box plot (ggplot2::ggplot)


Method abscissaPlot()

Creates and returns a compund graphical analysis of the abscissa values.

Usage
pgu.explorer$abscissaPlot()
Returns

Compound plot (gridExtra::grid.arrange)


Method ordinateBarPlot()

Creates and returns a histogram from the ordinate values.

Usage
pgu.explorer$ordinateBarPlot()
Returns

Bar plot (ggplot2::ggplot)


Method ordinateBoxPlot()

Creates and returns a box plot from the ordinate values.

Usage
pgu.explorer$ordinateBoxPlot()
Returns

Box plot (ggplot2::ggplot)


Method ordinatePlot()

Creates and returns a compund graphical analysis of the ordinate values.

Usage
pgu.explorer$ordinatePlot()
Returns

Compound plot (gridExtra::grid.arrange)


Method clone()

The objects of this class are cloneable with this method.

Usage
pgu.explorer$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Sebastian Malkusch, malkusch@med.uni-frankfurt.de


pguIMP documentation built on Sept. 30, 2021, 5:08 p.m.