Some Useful Functions for Statistics and Visualization
Add alpha for a Rcolor
Add an analysis for a project
Add a global gg_theme and colors for plots
Change factor levels
Check if a directory structure matches the expected structure
Plot china map
Copy a data.frame
Copy a vector
Like uniq -c in shell to count a vector
Print some message with =
Detach packages
Convert Three-column Data to Distance Matrix
df to link table
Convert a distance matrix to a data frame
Download genome files from NCBI based on accession number
Download File
Explode a data.frame if there are split charter in one column
Fit a distribution
Generate labels position
Get n colors
Get a legend from a ggplot object
gg histogram
Plot a doughnut chart
gghuan2 for multi-doughnut chart
ggmosaic for mosaic plot
Get a ggplot xlim and ylim
Translate axis label of a ggplot
Grepl applied on a data.frame
Plot a boxplot
Performs multiple mean comparisons for a data.frame
Gsub applied on a data.frame
Filter your data
Group your data
Group your data
How to set font for ggplot
How to set options in a package
How to update parameters
How to use parallel
How to use sbatch
Translate text of igraph
Judge if a characteristic is Rcolor
Scale a legend size
Attach packages or install packages have not benn installed
Trans list (with NULL) to data.frame
Get coefficients of linear regression model
Make a Gitbook using bookdown
Make a R-analysis project
Make a new python package
Match otutab and metadata
test data for pcutils package
Min_Max scale
Multiple regression/ variance decomposition analysis
Multi-groups test
Show my little cat named Guo Dong which drawn by my girlfriend.
My Circle packing plot
My circo plot
Fit a linear model and plot
My Sunburst plot
My Treemap plot
My Voronoi treemap plot
pcutils: Some Useful Functions for Statistics and Visualization
Pipe operator
Plot coefficients as a bar chart or lollipop chart
Plot a gif
Plot a multi-pages pdf
Prepare a numeric string
Prepare a package
Read fasta file
Read some special format file
Remove outliers
Transform a rgb vector to a Rcolor code
Remove the low relative items in each column
Plot the sampling map
Three-line table
Scale a fill color
Scale a fill color
Search and browse the web for specified terms
Set config
Show config
Split text into parts, each not exceeding a specified character count
Squash one column in a data.frame using other columns as id.
Plot a stack plot
Split Composite Names
Transpose data.frame
Pie plot
test data for pcutils package
Replace a vector by named vector
Transfer the format of file
Trans format your data
Translator
Two-group test
Update the NEW.md for a package
Update the parameters
Plot a general venn (upset, flower)
Write a data.frame to fasta
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.