Miscellaneous utility functions for data manipulation, data tidying, and working with gene expression data.
Tmisc package is where I keep miscellaneous functions. Most of them were pulled from my
.Rprofile, and many were stolen from other packages or random places around the web. I tried to give credit where credit is due in the documentation.
Install from CRAN:
Install from GitHub (potentially unstable):
Tpairs()displays better pairwise scatterplot matrices than
Thist()plots a histogram with either a normal distribution or density plot overlay.
corner()displays the first few rows and columns of a data frame or matrix.
beep()plays a short beep to alert when something's done (from the beepr package).
jsd()compute the Jensen-Shannon divergence from a matrix of probabilities.
Mode()returns the mode of a vector.
gg_na()produces a plot showing the missing values in a data frame.
are_all_equal()assess whether all the components of a numeric vector are (approximately) equal.
gghuesgenerates color palette emulating ggplot2's default hues.
fisherp()uses Fisher's method to combine p-values.
dokuwiki()will convert a data.frame to a dokuwiki-formatted table, and will copy said table to the system clipboard if you're on Mac OS X.
strSort()alphabetically sorts characters in a string.