schtools

schtools: Schloss Lab Tools for Reproducible Microbiome Research

Readers

Read microbiome-related files.

read_dist()

Read in lower left triangular matrix from file

read_tax()

Read in a taxonomy file and parse it to a wide dataframe

parse_tax()

Convert taxonomy strings into dataframe of labels based on taxonomic classification

R Markdown helpers

Format publication-quality documents.

set_knitr_opts()

Set knitr chunk options & inline hook

inline_hook()

Inline hook for knitr to paste human-readable numbers and nice lists.

paste_oxford_list()

Create a prose string from a list or vector

format_number()

Format human-readable numbers.

Everything else

Useful tools for miscellaneous tasks.

close_enough()

Check whether two numeric vectors are close enough for gov't work.

is_nearly_whole()

Checks whether a number is near to a whole number

is_nondesc()

Check whether all elements given are sorted in non-descending order

load_deps()

Install & load packages