Some Useful Functions for Statistics and Visualization


[Up] [Top]

Documentation for package ‘pcutils’ version 0.2.1

Help Pages

add_alpha Add alpha for a Rcolor
add_analysis Add an analysis for a project
add_theme Add a global gg_theme and colors for plots
areaplot Plot a stack plot
change_fac_lev Change factor levels
china_map Plot china map
chunlian Draw a Chunlian (Spring Festival couplet) using ggplot2
copy_df Copy a data.frame
copy_vector Copy a vector
count2 Like uniq -c in shell to count a vector
dabiao Print some message with =
del_ps Detach packages
df2link df 2 link
DNA_plot Plot a DNA double helix
download2 Download File
explode Explode a data.frame if there are split charter in one column
fittest Fit a distribution
generate_labels Generate labels position
get_cols Get n colors
get_doi Download supplemental materials according to a doi
ggheatmap Heatmap by ggplot
gghist gg Histogram
gghuan Plot a doughnut chart
gghuan2 gghuan2 for multi-doughnut chart
ggplot_lim Get a ggplot xlim and ylim
give_you_a_rose Give you a rose
grepl.data.frame Grepl applied on a data.frame
group_box Plot a boxplot
group_test Performs multiple mean comparisons for a data.frame
gsub.data.frame Gsub applied on a data.frame
guolv Filter your data
hebing Group your data
how_to_set_options How to set options in a package
how_to_update_parameters How to update parameters
how_to_use_parallel How to use parallel
how_to_use_sbatch How to use sbatch
is.ggplot.color Judge if a characteristic is Rcolor
legend_size Scale a legend size
lib_ps Attach packages or install packages have not benn installed
little_guodong My cat.
lm_coefficients Get coefficients of linear regression model
make_gitbook Make a Gitbook using bookdown
make_project Make a R-analysis project
metadata test data for pcutils package.
mmscale Min_Max scale
multireg Multiple regression/ variance decomposition analysis
multitest Multi-groups test
my_cat Show my little cat named Guo Dong which drawn by my girlfriend.
my_circle_packing My Circle packing plot
my_circo My circo plot
my_lm Fit a linear model and plot
my_sunburst My Sunburst plot
my_synteny My synteny plot
my_treemap My Treemap plot
my_voronoi_treemap My Voronoi treemap plot
Olympic_rings Plot the Olympic rings
otutab test data for pcutils package.
plot.coefficients Plot coefficients as a bar chart or lollipop chart
plotgif Plot a gif
plotpdf Plot a multi-pages pdf
pre_number_str Prepare a numeric string
read.file Read some special format file
read_fasta Read fasta file
reinstall_my_packages Re-install my packages
remove.outliers Remove outliers
rgb2code Transform a rgb vector to a Rcolor code
rm_low Remove the low relative items in each column
sample_map Plot the sampling map
sanxian Three-line table
search_browse Search and browse the web for specified terms
set_pcutils_config Set config
show_pcutils_config Show config
squash Squash one column in a data.frame using other columns as id.
stackplot Plot a stack plot
strsplit2 Split Composite Names
t2 Transpose data.frame
taxonomy test data for pcutils package.
tax_pie Pie plot
tax_wordcloud Word cloud plot
tidai Replace a vector by named vector
trans Transfer your data
translator translator
trans_format Transfer the format of file
triangp Triangle plot
twotest Two-group test
update_param Update the parameters
venn Plot a general venn (upset, flower)
venn.data.frame Plot a general venn (upset, flower)
venn.list Plot a general venn (upset, flower)
write_fasta Write a data.frame to fasta