Package: plutor 0.1.0

plutor: Useful Functions for Visualization

In ancient Roman mythology, 'Pluto' was the ruler of the underworld and presides over the afterlife. 'Pluto' was frequently conflated with 'Plutus', the god of wealth, because mineral wealth was found underground. When plotting with R, you try once, twice, practice again and again, and finally you get a pretty figure you want. It's a 'plot tour', a tour about repetition and reward. Hope 'plutor' helps you on the tour!

Authors:William Song [aut, cre]

plutor_0.1.0.tar.gz
plutor_0.1.0.zip(r-4.5)plutor_0.1.0.zip(r-4.4)plutor_0.1.0.zip(r-4.3)
plutor_0.1.0.tgz(r-4.4-any)plutor_0.1.0.tgz(r-4.3-any)
plutor_0.1.0.tar.gz(r-4.5-noble)plutor_0.1.0.tar.gz(r-4.4-noble)
plutor_0.1.0.tgz(r-4.4-emscripten)plutor_0.1.0.tgz(r-4.3-emscripten)
plutor.pdf |plutor.html
plutor/json (API)

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

Peer review:

Bug tracker:https://github.com/william-swl/plutor/issues

Datasets:

On CRAN:

3.62 score 3 stars 28 scripts 150 downloads 49 exports 92 dependencies

Last updated 1 years agofrom:56eaa462f6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winOKNov 22 2024
R-4.5-linuxOKNov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

Exports:%>%assign_colorsbrewer_colorscm2incm2inchcm2ptextract_comparegeom_comparegeom_describegeom2trace.GeomComparegeom2trace.GeomDescribeGeomCompareGeomDescribegradient_colorsin2cmin2mminch2cminch2mmlptmm2inmm2inchmm2ptpl_initpl_savepl_sizeplot_colorsposition_floatxPLposition_floatyPLPositionFloatxPLPositionFloatyPLpptpt2cmpt2mmrevert_pos_scalescale_elescale_x_continuous_plscale_x_log10_plscale_y_continuous_plscale_y_log10_plsci_colorsStatCompareStatCountPLStatDescribeStatFuncPLStatMeanPLtheme_pltheme_pl0tpttrans_pos_scale

Dependencies:baizerbase64encbitbit64bslibcacachemcellrangerclicliprclustercodetoolscolorspacecpp11crayoncurldiffobjdigestdplyrevaluatefansifarverfastmapfontawesomeforeachfsgclusgenericsggh4xggplot2ggscigluegtablehighrhmshtmltoolsisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopenxlsxpermutepillarpkgconfigprettyunitsprogresspurrrqapR6rappdirsRColorBrewerRcppreadrreadxlregistryrematchrematch2reprrlangrmarkdownsassscalesseriationstringistringrtibbletidyrtidyselecttinytexTSPtzdbutf8vctrsveganviridisLitevroomwithrxfunyamlzip

Readme and manuals

Help Manual

Help pageTopics
assign colors by a column in a tibble, for the convenience to use 'scale_color_identity()'assign_colors
colors of nucleotides and amino acidsbioletter_colors
select colors from 'RColorBrewer' package presetsbrewer_colors
width and height of built-in canvascanvas_size
trans cm to inchcm2inch
trans cm to ptcm2pt
extract the result of 'geom_compare' from a 'ggplot' objectextract_compare
add p value and fold change on a plotgeom_compare
Description values plotgeom_describe
geom2trace.GeomComparegeom2trace.GeomCompare
geom2trace.GeomDescribegeom2trace.GeomDescribe
GeomCompareGeomCompare
GeomDescribeGeomDescribe
generate gradient colorsgradient_colors
trans inch to cmcm2in in2cm inch2cm
trans inch to mmin2mm inch2mm
trans geom line point and theme line point to the real pointlpt
Minimal tibble dataset adjusted from diamondmini_diamond
trans mm to inchmm2in mm2inch
trans mm to ptmm2pt
set size, resolution and default themepl_init
save plot, support save into a blank canvaspl_save
set repr size and resolutionpl_size
plot colorsplot_colors
a new Position object to create float x positionposition_floatxPL
a new Position object to create float y positionposition_floatyPL
PositionFloatxPLPositionFloatxPL
PositionFloatyPLPositionFloatyPL
trans pt to cmpt2cm
trans pt to mmpt2mm
revert the position scale transformationrevert_pos_scale
scale element according to a vector of element scalesscale_ele
A variant of 'scale_x_continuous()' to show axis minor breaksscale_x_continuous_pl
A variant of 'scale_x_log10()' to show axis minor breaks and better axis labelsscale_x_log10_pl
A variant of 'scale_y_continuous()' to show axis minor breaksscale_y_continuous_pl
A variant of 'scale_y_log10()' to show axis minor breaks and better axis labelsscale_y_log10_pl
select colors from 'ggsci' package presetssci_colors
StatCompareStatCompare
StatCountPLStatCountPL
StatDescribeStatDescribe
StatFuncPLStatFuncPL
StatMeanPLStatMeanPL
a new extensible themetheme_pl
a blank themetheme_pl0
trans geom text or point to the real pointppt tpt
perform the position scale transformationtrans_pos_scale