customize {GOsummaries} | R Documentation

## Customization function for panel

### Description

This function is supposed to make small changes in the panel function appearance like changing color scheme for example. It has to match with the output of the corresponding panel function. Check examples in plot.gosummaries to see how to write one yourself.

### Usage

    customize(p, par)

### Arguments

`p` | a ggplot2 plot object
`par` | parameters object like in `panel_boxplot`

### Value

a ggplot2 plot object with added customizations

### Author(s)

Raivo Kolde <raivo.kolde@eesti.ee>

### Examples

    ## Not run:
    data(gs_limma_exp)

    cust = function(p, par){
        p = p + scale_fill_brewer(par$classes, type = "qual", palette = 1)
        return(p)
    }

    plot(gs_limma_exp, classes = "Tissue", panel_plot = panel_boxplot,
            panel_customize = cust, fontsize = 8)

    ## End(Not run)

[Package GOsummaries version 2.16.1 Index]