Miscellaneous utility functions for data manipulation, data tidying, and working with gene expression data.

The `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.packages("Tmisc")

Install from GitHub (potentially unstable):

install.packages("devtools")devtools::install_github("stephenturner/Tmisc")

`Tpairs()`

displays better pairwise scatterplot matrices than`pairs()`

.`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).

- Minor bugfixes.

`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.

`gghues`

generates 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.