funprofiler2lab: aggregate and visualize funprofiler functional profiles
Source:R/funprofiler2lab-package.R
funprofiler2lab-package.Rdfunprofiler2lab picks up where the funprofiler functions of
sra2lab (funprofiler_runs(),
funprofiler_stream(), funprofiler_local()) leave off. Its four core
functions are:
funprofiler_aggregate()read and combine the per-sample
*_ko_profiles.csvfiles, and join them to sample metadata (such as the run table fromsra2lab::get_bioproject_runs()) and KEGG annotation (fromfunprofiler_kegg()).funprofiler_timeline()plot the cohort's sampling timeline: one row per subject, one point per sample.
funprofiler_heatmap()plot a samples x functions abundance heatmap, of KOs or of KEGG pathways.
funprofiler_feature_plot()plot the abundance of one KO or pathway across samples, subjects and groups, optionally CLR-transformed. The values behind it come from
funprofiler_feature_abundance().
Details
Example KO profiles from 18 SRA runs of BioProject PRJNA1556220 and the
BioProject's run table are installed with the package; see
funprofiler_example().