This is primarily a cleanup release. Several functions were includedin the Tmisc package early on while packages such asjanitor were indevelopment. This release removes (note,removes, doesn’tdeprecate) functions that were previously copied from other packages,introducing a few potentially breaking changes.
set_names() as this is exported fromrlang.beep(). Use thebeeprpackage instead.remove_empty_cols(),remove_empty_rows(),convert_to_NA() andclean_names(). Useremove_empty(), etc., fromthejanitorpackage instead.unrowname(). Usemagrittr::set_rownames() (loaded with tidyverse).=. Optionally map the keyboardshortcut to Alt+- to insert= instead of thetraditional<-.%like% and%nlike% work like%in% and%nin%, but where the second argumentis a regular expression to match.gt2refalt() creates a two-letter genotypefrom a GT field from a VCF file.%in%.brackets()dollar()is_in()and()or()equals()is_gt()is_geq()is_lt()is_leq()not()set_colnames()set_rownames()set_names()set_attributes()set_attr()mat2df() creates a pairwise distance dataframe from a square matrix.keep_top_n() thanks toJeroenJanssens.deseqresult2tbl() now lets you name the columnextracted from the DESeq result’srownames anything youwant.%nin%.Cs() (fromHmisc): Conveniencefunction to create a quoted character vector from unquoted strings.convert_to_NA() converts string values to trueNA values (adapted fromsfirke/janitor)clean_names() cleans up the names in a data frame.Resulting names are unique and consist only of the_character, lowercase letters, and numbers (taken fromsfirke/janitor).remove_empty_rows() andremove_empty_cols() removes any rows or columns composedentirely ofNA values (taken fromsfirke/janitor).Tpairs() displays better pairwise scatterplot matricesthanpairs().Thist() plots a histogram with either a normaldistribution or density plot overlay.corner() displays the first few rows and columns of adata frame or matrix.beep() plays a short beep to alert when something’sdone (from the beepr package).jsd() compute the Jensen-Shannon divergence from amatrix of probabilities.Mode() returns the mode of a vector.gg_na() produces a plot showing the missing values in adata frame.are_all_equal() assess whether all the components of anumeric vector are (approximately) equal.gghues() generates color palette emulating ggplot2’sdefault hues.fisherp() uses Fisher’s method to combinep-values.dokuwiki() will convert a data.frame to adokuwiki-formatted table, and will copy said table to the systemclipboard if you’re on Mac OS X.strSort() alphabetically sorts characters in astring.