Skip to contents

Package overview

thisplot thisplot-package
Utility Functions for Data Visualization and Plotting
thisplot_logo()
The logo of thisplot

Color functions

adjcolors()
Convert a color with specified alpha level
Blend2Color()
Blend two colors using a specified mode
blendcolors()
Blends a list of colors using the specified blend mode
BlendRGBList()
Blend a list of colors
col2hex()
Convert color names to hexadecimal format
palette_colors()
Color palettes collected
palette_list
A list of palettes for use in data visualization
RGBA2RGB()
Convert RGBA color to RGB with background
show_palettes()
Show the color palettes

Theme functions

theme_blank()
Blank theme
theme_this()
The default theme for scop plot function.

Plot manipulation

add_grob()
Add a grob to a gtable
as_grob()
Convert a plot object to a grob
as_gtable()
Convert a plot object to a gtable
build_patchwork()
Build a patchwork gtable
extractgrobs()
Extract grobs from a list
get_legend()
Extract legend from a plot
get_vars()
Get used vars in a ggplot object
grid_draw()
Draw grobs at specified positions
patchwork_grob()
Convert a patchwork object to a grob
segements_df()
Shorten and offset the segment

Panel and layout control

adjustlayout()
Adjust graph layout to avoid node overlaps
panel_fix() panel_fix_overall()
Set the panel width/height of a plot to a fixed value

Plot optimization

drop_data()
Drop unused data in the plot
slim_data()
Slim unused data in the plot
standardise()
Standardize data by rows

Utility functions

get_namespace_fun()
Get a function from a namespace
mestimate()
Estimate the fuzzifier parameter m
print(<thisplot_logo>)
Print logo