Package index
To create a plot, start with thetidyplot() function. Build the plot by adding, removing, and adjusting plot components. Thesplit_plot() function must be called last in this sequence and can only be followed bysave_plot().
tidyplot()- Create a new tidyplot
add_data_points()add_data_points_jitter()add_data_points_beeswarm()- Add data points
add_count_bar()add_count_dash()add_count_dot()add_count_value()add_count_line()add_count_area()- Add count
add_sum_bar()add_sum_dash()add_sum_dot()add_sum_value()add_sum_line()add_sum_area()- Add sum
add_heatmap()- Add heatmap
add_line()add_area()- Add line or area
add_histogram()- Add histogram
add_boxplot()- Add boxplot
add_violin()- Add violin plot
add_sem_errorbar()add_range_errorbar()add_sd_errorbar()add_ci95_errorbar()- Add error bar
add_sem_ribbon()add_range_ribbon()add_sd_ribbon()add_ci95_ribbon()- Add ribbon
add_ellipse()- Add ellipse
add_barstack_absolute()add_barstack_relative()- Add bar stack
add_areastack_absolute()add_areastack_relative()- Add area stack
add_pie()add_donut()- Add pie or donut chart
add_test_pvalue()add_test_asterisks()- Add statistical test
add_title()add_caption()- Add plot title or caption
add_data_labels()add_data_labels_repel()- Add data labels
add_reference_lines()- Add reference lines
add_annotation_text()add_annotation_rectangle()add_annotation_line()- Add annotation
remove_legend()remove_legend_title()- Remove legend or legend title
remove_padding()- Remove plot area padding
remove_title()remove_caption()- Remove plot title or caption
remove_x_axis()remove_x_axis_line()remove_x_axis_ticks()remove_x_axis_labels()remove_x_axis_title()- Remove x-axis or parts of it
remove_y_axis()remove_y_axis_line()remove_y_axis_ticks()remove_y_axis_labels()remove_y_axis_title()- Remove y-axis or parts of it
adjust_colors()- Adjust colors
adjust_font()- Adjust font
adjust_legend_title()adjust_legend_position()- Adjust legend
adjust_title()adjust_x_axis_title()adjust_y_axis_title()adjust_caption()- Adjust titles and caption
adjust_size()- Adjust plot area size
adjust_padding()- Adjust plot area padding
adjust_x_axis()adjust_y_axis()- Adjust axes
rename_x_axis_levels()rename_y_axis_levels()rename_color_levels()- Rename axis or color levels
reorder_x_axis_levels()reorder_y_axis_levels()reorder_color_levels()- Reorder axis or color levels
sort_x_axis_levels()sort_y_axis_levels()sort_color_levels()- Sort axis or color levels
reverse_x_axis_levels()reverse_y_axis_levels()reverse_color_levels()- Reverse axis or color levels
theme_tidyplot()theme_ggplot2()theme_minimal_xy()theme_minimal_x()theme_minimal_y()- Themes
adjust_theme_details()- Adjust theme details
tidyplots_options()- Tidyplots options
colors_discrete_friendlycolors_discrete_seasidecolors_discrete_applecolors_discrete_friendly_longcolors_discrete_okabeitocolors_discrete_ibmcolors_discrete_metrocolors_discrete_candycolors_discrete_algercolors_discrete_rainbow- Discrete color schemes
colors_continuous_viridiscolors_continuous_magmacolors_continuous_infernocolors_continuous_plasmacolors_continuous_cividiscolors_continuous_rocketcolors_continuous_makocolors_continuous_turbocolors_continuous_bluepinkyellow- Continuous color schemes
colors_diverging_blue2redcolors_diverging_blue2browncolors_diverging_BuRdcolors_diverging_BuYlRdcolors_diverging_spectralcolors_diverging_icefire- Diverging color schemes
new_color_scheme()- New color scheme
split_plot()- Split plot into multiple subplots
view_plot()- View plot on screen
save_plot()- Save plots to file
all_rows()filter_rows()max_rows()min_rows()first_rows()last_rows()sample_rows()- Subset data rows
add()- Add ggplot2 code to a tidyplot
flip_plot()superseded- Flip x and y-axis
format_p_value()- Format p values
animals- Animals data
climate- Climate data
dinosaurs- Dinosaurs data
distributions- Distributions data
energy- Energy data
energy_week- Energy week data
eu_countries- EU countries data
gene_expression- RNA-Seq expression data
spendings- Spending data
study- Study data
time_course- Time course data
pca- Principle component analysis data