Package: thisplot 0.4.6

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.6.tar.gz
thisplot_0.4.6.zip(r-4.7-any)thisplot_0.4.6.zip(r-4.6-any)thisplot_0.4.6.zip(r-4.5-any)
thisplot_0.4.6.tgz(r-4.6-any)thisplot_0.4.6.tgz(r-4.5-any)
thisplot_0.4.6.tar.gz(r-4.7-any)thisplot_0.4.6.tar.gz(r-4.6-any)
thisplot_0.4.6.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.40 score 2 stars 9 scripts 416 downloads 81 exports 53 dependencies

Last updated from:1606f28a92. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE178
source / vignettesOK230
linux-releaseNOTE180
macos-releaseNOTE166
macos-oldrelNOTE138
windows-develNOTE140
windows-releaseNOTE140
windows-oldrelNOTE132
wasm-releaseOK116

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_border_colorheatmap_border_enabledheatmap_border_gpheatmap_border_size_valueheatmap_border_specheatmap_fixsizeheatmap_legend_borderheatmap_rendersizeinvert_figuresinvert_pnginvert_svgjitter_highlighted_pointsmajor_gridmake_longmestimateNetworkPlotno_legendno_marginno_x_textno_y_textnormalize_drawablepalette_colorspanel_fixpanel_fix_overallpatchwork_grobplot_autocomposeplot_autosizeplot_histogramplot_scatterprint_colored_tablerasterise_plotRGBA2RGBsegements_dfshow_palettessimple_colorsslim_datastandardiseStatPlottheme_alluvialtheme_blanktheme_sankeytheme_sankey_bumptheme_thisthisplot_logoto_percentvisual_colors

Dependencies:base64enccallrclicpp11dendextendfarvergeomtextpathggforceggnewscaleggplot2ggrepelgluegridExtragtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvnlmeotelpakpatchworkpkgconfigplyrpolyclipprocessxproxyCpsR6RColorBrewerRcppRcppArmadilloreshape2rlangS7scalesstringistringrsystemfontstextshapingthisutilstidyselecttweenrvctrsviridisviridisLitewithr

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
Normalize ComplexHeatmap border settingsheatmap_border_color heatmap_border_enabled heatmap_border_gp heatmap_border_size_value heatmap_border_spec heatmap_legend_border
Compute fixed heatmap device sizeheatmap_fixsize
Estimate heatmap render sizeheatmap_rendersize
Invert the colours of a set of figuresinvert_figures
Invert the colours of a PNG fileinvert_png
Invert the colours of an SVG fileinvert_svg
Jitter highlighted points deterministicallyjitter_highlighted_points
Set major grid lines on a ggplotmajor_grid
Make a long data frame for sankey plotmake_long
Estimate the fuzzifier parameter mmestimate
Network PlotNetworkPlot
Remove the legendno_legend
Remove plot marginsno_margin
Remove x-axis text and ticksno_x_text
Remove y-axis text and ticksno_y_text
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
Compose plots at their preferred sizesplot_autocompose
Automatically size a plotplot_autosize
Histogram plotplot_histogram
Scatter plotplot_scatter
Print a data frame as a color-highlighted aligned tableprint_colored_table
Print 'ChineseColors' objectprint.ChineseColors
Print colors objectprint.colors
Print logoprint.thisplot_logo
Rasterise the layers of a plotrasterise_plot
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