Package: pcutils 0.2.7

pcutils: Some Useful Functions for Statistics and Visualization

Offers a range of utilities and functions for everyday programming tasks. 1.Data Manipulation. Such as grouping and merging, column splitting, and character expansion. 2.File Handling. Read and convert files in popular formats. 3.Plotting Assistance. Helpful utilities for generating color palettes, validating color formats, and adding transparency. 4.Statistical Analysis. Includes functions for pairwise comparisons and multiple testing corrections, enabling perform statistical analyses with ease. 5.Graph Plotting, Provides efficient tools for creating doughnut plot and multi-layered doughnut plot; Venn diagrams, including traditional Venn diagrams, upset plots, and flower plots; Simplified functions for creating stacked bar plots, or a box plot with alphabets group for multiple comparison group.

Authors:Chen Peng [aut, cre]

pcutils_0.2.7.tar.gz
pcutils_0.2.7.zip(r-4.5)pcutils_0.2.7.zip(r-4.4)pcutils_0.2.7.zip(r-4.3)
pcutils_0.2.7.tgz(r-4.4-any)pcutils_0.2.7.tgz(r-4.3-any)
pcutils_0.2.7.tar.gz(r-4.5-noble)pcutils_0.2.7.tar.gz(r-4.4-noble)
pcutils_0.2.7.tgz(r-4.4-emscripten)pcutils_0.2.7.tgz(r-4.3-emscripten)
pcutils.pdf |pcutils.html
pcutils/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/asa12138/pcutils/issues

Datasets:

On CRAN:

91 exports 15 stars 2.79 score 39 dependencies 4 dependents 25 scripts 952 downloads

Last updated 2 months agofrom:3c8b028b1d. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-winNOTEAug 23 2024
R-4.5-linuxNOTEAug 23 2024
R-4.4-winNOTEAug 23 2024
R-4.4-macNOTEAug 23 2024
R-4.3-winNOTEAug 23 2024
R-4.3-macNOTEAug 23 2024

Exports:%>%add_alphaadd_analysisadd_themeareaplotchange_fac_levchina_mapcopy_dfcopy_vectorcor_plotcount2dabiaodel_psdf2distancedf2linkdownload_ncbi_genome_filedownload2explodefittestgenerate_labelsget_colsggheatmapgghistgghuangghuan2ggmosaicggplot_limggplot_translatorgrepl.data.framegroup_boxgroup_testgsub.data.frameguolvhebinghow_to_set_font_for_plothow_to_set_optionshow_to_update_parametershow_to_use_parallelhow_to_use_sbatchigraph_translatoris.ggplot.colorlegend_sizelib_pslm_coefficientsmake_gitbookmake_projectmatch_dfmmscalemultiregmultitestmy_catmy_circle_packingmy_circomy_lmmy_sankeymy_sunburstmy_treemapmy_voronoi_treemapplotgifplotpdfpre_number_strprepare_packageread_fastaread.fileremove.outliersrgb2coderm_lowsample_mapsanxianscale_color_pcscale_fill_pcsearch_browseset_pcutils_configshow_pcutils_configsplit_textsquashstackplotstrsplit2t2tax_pietax_radartidaitoXYtranstrans_formattranslatortwotestupdate_NEWS_mdupdate_paramvennwrite_fasta

Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrpurrrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Add alpha for a Rcoloradd_alpha
Add an analysis for a projectadd_analysis
Add a global gg_theme and colors for plotsadd_theme
Change factor levelschange_fac_lev
Plot china mapchina_map
Copy a data.framecopy_df
Copy a vectorcopy_vector
Plot correlationcor_plot
Like 'uniq -c' in shell to count a vectorcount2
Print some message with =dabiao
Detach packagesdel_ps
Convert Three-column Data to Distance Matrixdf2distance
df to link tabledf2link
Download genome files from NCBI based on accession numberdownload_ncbi_genome_file
Download Filedownload2
Explode a data.frame if there are split charter in one columnexplode
Fit a distributionfittest
Generate labels positiongenerate_labels
Get n colorsget_cols
Heatmap by ggplotggheatmap
gg histogramgghist
Plot a doughnut chartgghuan
gghuan2 for multi-doughnut chartgghuan2
ggmosaic for mosaic plotggmosaic
Get a ggplot xlim and ylimggplot_lim
Translate axis label of a ggplotggplot_translator
Grepl applied on a data.framegrepl.data.frame
Plot a boxplotgroup_box
Performs multiple mean comparisons for a data.framegroup_test
Gsub applied on a data.framegsub.data.frame
Filter your dataguolv
Group your datahebing
How to set font for ggplothow_to_set_font_for_plot
How to set options in a packagehow_to_set_options
How to update parametershow_to_update_parameters
How to use parallelhow_to_use_parallel
How to use sbatchhow_to_use_sbatch
Translate text of igraphigraph_translator
Judge if a characteristic is Rcoloris.ggplot.color
Scale a legend sizelegend_size
Attach packages or install packages have not benn installedlib_ps
My catlittle_guodong
Get coefficients of linear regression modellm_coefficients
Make a Gitbook using bookdownmake_gitbook
Make a R-analysis projectmake_project
Match otutab and metadatamatch_df
test data for pcutils packagemetadata
Min_Max scalemmscale
Multiple regression/ variance decomposition analysismultireg
Multi-groups testmultitest
Show my little cat named Guo Dong which drawn by my girlfriend.my_cat
My Circle packing plotmy_circle_packing
My circo plotmy_circo
Fit a linear model and plotmy_lm
My Sankey plotmy_sankey
My Sunburst plotmy_sunburst
My Treemap plotmy_treemap
My Voronoi treemap plotmy_voronoi_treemap
test data for pcutils packageotutab
Plot coefficients as a bar chart or lollipop chartplot.coefficients
Plot a gifplotgif
Plot a multi-pages pdfplotpdf
Prepare a numeric stringpre_number_str
Prepare a packageprepare_package
Read fasta fileread_fasta
Read some special format fileread.file
Remove outliersremove.outliers
Transform a rgb vector to a Rcolor codergb2code
Remove the low relative items in each columnrm_low
Plot the sampling mapsample_map
Three-line tablesanxian
Scale a fill colorscale_color_pc
Scale a fill colorscale_fill_pc
Search and browse the web for specified termssearch_browse
Set configset_pcutils_config
Show configshow_pcutils_config
Split text into parts, each not exceeding a specified character countsplit_text
Squash one column in a data.frame using other columns as id.squash
Plot a stack plotareaplot stackplot
Split Composite Namesstrsplit2
Transpose data.framet2
Pie plottax_pie
Radar plottax_radar
test data for pcutils packagetaxonomy
Replace a vector by named vectortidai
Transfer Geographical latitude and longitude to XY(m)toXY
Trans format your datatrans
Transfer the format of filetrans_format
Translatortranslator
Two-group testtwotest
Update the NEW.md for a packageupdate_NEWS_md
Update the parametersupdate_param
Plot a general venn (upset, flower)venn venn.data.frame venn.list
Write a data.frame to fastawrite_fasta