Learn R Programming

descsuppRplots (version 1.0)

w.emptyplot: Wrapper for ggplot2::ggplot()

Description

Wrapper for ggplot2::ggplot()

Usage

w.emptyplot(data, parameter, groupby = NULL, pval.display = FALSE, ldat, ...)

Value

A ggplot object.

Arguments

data

A data frame with the data to be plotted. Ignored in this case.

parameter

Character. Name of the column in data to the values to be plotted. Ignored in this case.

groupby

Character (default: NULL). Name of the grouping (categorical) variable in data. Ignored in this case.

pval.display

Logical. If TRUE and there are exactly two groups in groupby, a p-value annotation is added. Ignored in this case.

ldat

A data frame containing the p-value(s) to annotate on the plot. Expected columns: `"p value"` and/or `"adjusted p value"`. Ignored in this case.

...

Additional arguments Ignored in this case.

Author

Dr. Andreas Leha

Examples

Run this code
w.emptyplot()

Run the code above in your browser using DataLab