theme_legend_position: Helper function for creating color palettes Syncs input to...

View source: R/plot.R

theme_legend_positionR Documentation

Helper function for creating color palettes Syncs input to ggplot2::theme() params legend.position (i.e. the position of the legends) and legend.justification (i.e. the anchor point for positioning legend inside the plot)

Description

Helper function for creating color palettes Syncs input to ggplot2::theme() params legend.position (i.e. the position of the legends) and legend.justification (i.e. the anchor point for positioning legend inside the plot)

Usage

theme_legend_position(position)

Arguments

position

character string to pass into ggplot2::theme(legend.position=position, legend.justification=position)

Value

returns ggplot2 theme() such that ggplot2::theme(legend.position=position, legend.justification=position)


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.