Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

Tmisc

Miscellaneous utility functions for manipulating data and your R environment.

Install from CRAN:

install.packages("Tmisc")

Install from GitHub (potentially unstable):

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

Documentation: http://stephenturner.github.io/Tmisc

Copy Link

Version

Install

install.packages('Tmisc')

Monthly Downloads

994

Version

0.1.22

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Stephen Turner

Last Published

December 5th, 2019

Functions in Tmisc (0.1.22)

Thist

Histograms with overlays
Tmisc

Tmisc
aliases

Aliases
corner

Print the top left corner of a data frame
Cs

Character strings from unquoted names
addins

Insert text at current position.
Tcols

A palette of 17 diverging colors
are_all_equal

Are all equal?
Tpairs

Better scatterplot matrices.
deseqresult2tbl

Tidy DESeq2 result
fisherp

Fisher's method to combine p-values.
Mode

Mode.
dfsigfig

Round numeric columns of a data frame
datasaurus

Datasaurus Dozen
counts2fpkm

Fragments per kilobase per million
lsa

Improved list of objects
lowestnonzero

Lowest nonzero values
lmp

Linear model p-value
gg_na

Plot missing data
nn

Get names and class of all columns in a data frame
keep_top_n

Keep rows from top groups of a column
o

Open the current working directory on mac
gt2refalt

Two-letter genotype from VCF GT
gghues

Emulate ggplot2 default hues
jsd

Jensen-Shannon divergence
%like%

x like y
dokuwiki

Create tables in dokuwiki format
read.cb

Read from the clipboard
quartet

Anscombe's Quartet data (tidy)
ellipses

Truncate a data frame with ellipses.
strSort

Sort characters in a string
sicb

Write sessionInfo to the clipboard
%nlike%

x not like y
%nin%

x not in y
peek

Peek at the top of a text file
lsp

List objects in package
propmiss

Missing stats
mat2df

Matrix to pairwise data frame
rownames_to_symprobe

Rownames to symbol-probeID
saveit

Rename objects while saving.
unfactor

Unfactor a data.frame