rgi_heatmap() gains feature_label_wrap (TRUE by default), which wraps feature labels longer than 40 characters, such as CARD’s longer gene names, onto two lines. This leaves more of the plot’s width for the tiles, so that narrow panels’ labels and the sample labels fit. Set it to FALSE to keep each label on one line.
rgi_aggregate() filters genes by coverage (min_coverage, 50% by default) and reads, and adds RPKM (from each sample’s total reads) and each gene’s share of the resistome. Samples with no resistance genes are kept, as a single row with aro_termNA.
rgi_timeline() is the cohort sampling timeline of sylph2lab::sylph_timeline() and funprofiler2lab::funprofiler_timeline(), for users working with RGI results alone.
Example rgi bwt results of 18 runs and the run table from BioProject PRJNA1556220 (rgi_example()).
A pkgdown website, https://bjklab.github.io/rgi2lab/, built and deployed to the gh-pages branch by a GitHub Actions workflow on every push to main.