Package: thisplot 0.4.1

thisplot: Utility Functions for Plotting

Provides utility functions for plotting. Includes functions for color manipulation, plot customization, panel size control, data optimization for plots, and layout adjustments.

Authors:Meng Xu [aut, cre], Haoliang Zhu [aut]

thisplot_0.4.1.tar.gz
thisplot_0.4.1.zip(r-4.7)thisplot_0.4.1.zip(r-4.6)thisplot_0.4.1.zip(r-4.5)
thisplot_0.4.1.tgz(r-4.6-any)thisplot_0.4.1.tgz(r-4.5-any)
thisplot_0.4.1.tar.gz(r-4.7-any)thisplot_0.4.1.tar.gz(r-4.6-any)
thisplot_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
thisplot/json (API)

# Install 'thisplot' in R:
install.packages('thisplot', repos = c('https://mengxu98.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mengxu98/thisplot/issues

Pkgdown/docs site:https://mengxu98.github.io

Datasets:

On CRAN:

Conda:

4.01 score 1 stars 8 scripts 1.1k downloads 60 exports 51 dependencies

Last updated from:1e210674ec. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK189
source / vignettesOK200
linux-release-x86_64OK166
macos-release-arm64OK141
macos-oldrel-arm64OK99
windows-develOK173
windows-releaseOK134
windows-oldrelOK119
wasm-releaseOK131

Exports:add_grobadjcolorsadjustlayoutannotate_quadrantsannotation_block_fill_graphicsannotation_block_graphicsannotation_graphicsas_grobas_gtableBlend2ColorblendcolorsBlendRGBListbuild_heatmap_annotationbuild_patchworkChineseColorsclip_symmetric_rangecluster_within_group2col2hexcompute_velocity_on_gridDimDataPlotdrop_dataextractgrobsgeom_alluvialgeom_alluvial_labelgeom_alluvial_textgeom_sankeygeom_sankey_bumpgeom_sankey_labelgeom_sankey_textget_chinese_palettesget_colorsget_legendget_varsGraphPlotgrid_drawheatmap_fixsizeheatmap_rendersizejitter_highlighted_pointsmake_longmestimatenormalize_drawablepalette_colorspanel_fixpanel_fix_overallpatchwork_grobRGBA2RGBsegements_dfshow_palettessimple_colorsslim_datastandardiseStatPlottheme_alluvialtheme_blanktheme_sankeytheme_sankey_bumptheme_thisthisplot_logoto_percentvisual_colors

Dependencies:base64encclicodetoolscpp11dendextenddoParallelfarverforeachgeomtextpathggforceggnewscaleggplot2ggrepelgluegridExtragtableigraphisobanditeratorsjsonlitelabelinglatticelifecyclemagrittrMASSMatrixpakpatchworkpkgconfigplyrpolyclipproxyCR6RColorBrewerRcppRcppArmadilloreshape2rlangS7scalesstringistringrsystemfontstextshapingthisutilstidyselecttweenrvctrsviridisviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Utility Functions for Data Visualization and Plottingthisplot-package thisplot
Add a grob to a gtableadd_grob
Convert a color with specified alpha leveladjcolors
Adjust graph layout to avoid node overlapsadjustlayout
Annotate plot quadrants with percentagesannotate_quadrants
Build block fill panel functionannotation_block_fill_graphics
Build block panel functionannotation_block_graphics
Build graphics callback list for anno_customizeannotation_graphics
Convert a plot object to a grobas_grob
Convert a plot object to a gtableas_gtable
Blend two colors using a specified modeBlend2Color
Blends a list of colors using the specified blend modeblendcolors
Blend a list of colorsBlendRGBList
Build HeatmapAnnotation with safe parameter mergebuild_heatmap_annotation
Build a patchwork gtablebuild_patchwork
Chinese traditional colors datasetchinese_colors
Chinese traditional colors systemChineseColors
Clip values to a symmetric rangeclip_symmetric_range
Cluster within groupcluster_within_group2
Convert color names to hexadecimal formatcol2hex
Compute velocity on gridcompute_velocity_on_grid
Data Dimensional PlotDimDataPlot
Drop unused data in the plotdrop_data drop_data.default drop_data.ggplot drop_data.patchwork
Extract grobs from a listextractgrobs
geom_alluvialgeom_alluvial
geom_alluvial_labelgeom_alluvial_label geom_alluvial_text
geom_sankeygeom_sankey
geom_sankey_bumpgeom_sankey_bump
geom_sankey_labelgeom_sankey_label geom_sankey_text
Get Chinese color palettesget_chinese_palettes
Get colors from Chinese colors dataset or palettesget_colors
Extract legend from a plotget_legend
Get used vars in a ggplot objectget_vars
Graph PlotGraphPlot
Draw grobs at specified positionsgrid_draw
Return the first part of a colors objecthead.colors
Compute fixed heatmap device sizeheatmap_fixsize
Estimate heatmap render sizeheatmap_rendersize
Jitter highlighted points deterministicallyjitter_highlighted_points
Make a long data frame for sankey plotmake_long
Estimate the fuzzifier parameter mmestimate
Normalize drawable objects to grobsnormalize_drawable
Color palettes collectedpalette_colors
A list of palettes for use in data visualizationpalette_list
Set the panel width/height of a plot to a fixed valuepanel_fix panel_fix_overall
Convert a patchwork object to a grobpatchwork_grob
Print 'ChineseColors' objectprint.ChineseColors
Print colors objectprint.colors
Print logoprint.thisplot_logo
Convert RGBA color to RGB with backgroundRGBA2RGB
Shorten and offset the segmentsegements_df
Show the color palettesshow_palettes
Simple random color selectionsimple_colors
Slim unused data in the plotslim_data slim_data.ggplot slim_data.patchwork
Standardize data by rowsstandardise
Statistic PlotStatPlot
Blank themetheme_blank
Themes for sankey plottheme_alluvial theme_sankey theme_sankey_bump
The default theme for scop plot function.theme_this
The logo of thisplotthisplot_logo
Convert proportions to percentagesto_percent
Visualize colors in HTML widgetvisual_colors