sylph2lab: aggregate and visualize sylph metagenomic profiles
Source:R/sylph2lab-package.R
sylph2lab-package.Rdsylph2lab picks up where the sylph functions of
sra2lab (sylph_runs(),
sylph_stream(), sylph_local()) leave off. Its four core functions are:
sylph_aggregate()read and combine the per-sample
*_profiling.tsvfiles, and join them to sample metadata (such as the run table fromsra2lab::get_bioproject_runs()) and GTDB taxonomy.sylph_timeline()plot the cohort's sampling timeline: one row per subject, one point per sample.
sylph_heatmap()plot a samples x taxa abundance heatmap.
sylph_taxon_plot()plot the abundance of one taxon across samples, subjects and groups, optionally CLR-transformed. The values behind it come from
sylph_taxon_abundance().
Details
Example profiles from 18 SRA runs of BioProject PRJNA1556220, the
BioProject's run table, and the GTDB r232 taxonomy of the detected genomes
are installed with the package; see
sylph_example().