plot-utils: Process faceting choices

plot-utilsR Documentation

Process faceting choices

Description

Generate ggplot instructions to facet a plot by row and/or column

Usage

.addFacets(x)

Arguments

x

A single-row DataFrame that contains all the input settings for the current panel.

Value

A string containing a command to define the row and column faceting covariates.

Author(s)

Kevin Rue-Albrecht.

Examples

x <- ReducedDimensionPlot(
    FacetRowBy = "Column data", FacetRowByColData="Covariate_1", 
    FacetColumnBy = "Column data", FacetColumnByColData="Covariate_2") 
.addFacets(x)

csoneson/SEE documentation built on Dec. 13, 2024, 6:43 p.m.