Package: dar 1.9.0

Francesc Catala-Moll

dar: Differential Abundance Analysis by Consensus

Differential abundance testing in microbiome data challenges both parametric and non-parametric statistical methods, due to its sparsity, high variability and compositional nature. Microbiome-specific statistical methods often assume classical distribution models or take into account compositional specifics. These produce results that range within the specificity vs sensitivity space in such a way that type I and type II error that are difficult to ascertain in real microbiome data when a single method is used. Recently, a consensus approach based on multiple differential abundance (DA) methods was recently suggested in order to increase robustness. With dar, you can use dplyr-like pipeable sequences of DA methods and then apply different consensus strategies. In this way we can obtain more reliable results in a fast, consistent and reproducible way.

Authors:Francesc Catala-Moll [aut, cre]

dar_1.9.0.tar.gz
dar_1.9.0.zip(r-4.7)dar_1.9.0.zip(r-4.6)dar_1.9.0.zip(r-4.5)
dar_1.9.0.tgz(r-4.6-any)dar_1.9.0.tgz(r-4.5-any)
dar_1.9.0.tar.gz(r-4.7-any)dar_1.9.0.tar.gz(r-4.6-any)
dar_1.9.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
dar/json (API)

# Install 'dar' in R:
install.packages('dar', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/microbialgenomics-irsicaixaorg/dar/issues

Pkgdown/docs site:https://microbialgenomics-irsicaixaorg.github.io

Datasets:

On BioConductor:dar-1.9.0(bioc 3.24)dar-1.8.0(bioc 3.23)

softwaresequencingmicrobiomemetagenomicsmultiplecomparisonnormalizationbioconductorbiomarker-discoverydifferential-abundance-analysisfeature-selectionmicrobiologyphyloseq

6.62 score 6 stars 11 scripts 42 exports 193 dependencies

Last updated from:92a50d1d66. Checks:1 WARNING, 9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksWARNING313
linux-devel-x86_64OK840
source / vignettesOK798
linux-release-x86_64OK815
macos-release-arm64OK595
macos-oldrel-arm64OK554
windows-develOK734
windows-releaseOK692
windows-oldrelOK747
wasm-releaseOK275

Exports:abundance_pltadd_taxadd_varbakecontains_rarefactioncoolcorr_heatmapexclusion_pltexport_stepsfind_intersectionsget_phyget_taxget_varimport_stepsintersection_dfintersection_pltmutual_pltotu_tableoverlap_dfphy_qcpreprand_idrarefaction_helprecipesample_datastep_aldexstep_ancomstep_corncobstep_deseqstep_filter_by_abundancestep_filter_by_prevalencestep_filter_by_raritystep_filter_by_variancestep_filter_taxastep_lefsestep_maaslinstep_metagenomeseqstep_rarefactionstep_subset_taxastep_wilcoxsteps_idstax_table

Dependencies:abindade4apeaskpassassertthatassortheadbackportsbase64encbeachmatbeeswarmBHBiobaseBiocBaseUtilsBiocGenericsBiocNeighborsBiocParallelBiocSingularbiomformatBiostringsbitbit64bitopsblusterbslibcacachemcallrcaToolscheckmatecirclizeclicliprclueclustercodetoolscolorspaceComplexHeatmapcpp11crayoncrosstalkcurldata.tableDBIDECIPHERdecontamDelayedArrayDelayedMatrixStatsdendextenddigestDirichletMultinomialdoParalleldplyrdqrngecodiveeggevaluatefarverfastmapFNNfontawesomeforeachformatRfsfutile.loggerfutile.optionsgclusgenericsGenomicRangesGetoptLongggbeeswarmggplot2ggrepelGlobalOptionsgluegplotsgridExtragtablegtoolsheatmaplyhighrhmshtmltoolshtmlwidgetshttrigraphIRangesirlbaisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglambda.rlaterlatticelazyevallifecyclemagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvmiamimeMultiAssayExperimentmulttestnlmeopensslotelpermutepheatmapphyloseqpillarpixmappkgconfigplotlyplyrpngprettyunitsprocessxprogresspromisespspurrrqapR6rappdirsRColorBrewerRcppRcppAnnoyRcppArmadilloRcppEigenRcppMLRcppProgressreadrregistryreshape2rjsonrlangrmarkdownRSpectrarsvdRtsneS4ArraysS4VectorsS7sassScaledMatrixscalesscaterscuttleSeqinfoseriationshapeSingleCellExperimentsitmosnowspSparseArraysparseMatrixStatsstringistringrSummarizedExperimentsurvivalsystibbletidyrtidyselecttidytreetinytextreeioTreeSummarizedExperimentTSPtzdbUpSetRutf8uwotvctrsveganviporviridisviridisLitevroomwebshotwithrxfunXVectoryamlyulab.utils

Converting Common Data Formats to Phyloseq and TreeSummarizedExperiment
Importing Data from biome Format | To Phyloseq | To TreeSummarizedExperiment | Importing Data from qiime Format | Importing Data from mothur Format | Importing Data from metaphlan Format | Conclusion | Session info

Last update: 2026-04-22
Started: 2022-08-19

Introduction to dar
An Example | An Initial Recipe | Preprocessing Steps | Differential Analysis | Prep | Bake and cool | Session info

Last update: 2026-02-06
Started: 2022-08-19

Workflow with real data
Load dar package and data | Recipe initialization | Recipe QC and preprocessing steps definition | Define Differential Analysis (DA) steps | Prep recipe | Default results extraction | Exploration for consensus strategie definition | Define a consesus strategy using bake | Extract results | Session info

Last update: 2026-02-06
Started: 2023-01-31

dar: Case of Study
Introduction | Load dar package and data | Recipe Initialization | Recipe QC and Preprocessing Steps Definition | Define Differential Analysis (DA) steps | Prep recipe | Default results extraction | Exploration for consensus strategie definition | Define a consesus strategy using bake | Extract results | Session Info

Last update: 2026-02-06
Started: 2025-03-15

Filtering and Subsetting
step_filter_taxa | Convenience Wrappers | step_filter_by_abundance | step_filter_by_prevalence | step_filter_by_rarity | step_filter_by_variance | subset_taxa | Conclusion | Session info

Last update: 2024-01-10
Started: 2023-11-29

Reproducibility in Microbiome Data Analysis
Exporting Steps of a Recipe | Importing Steps from a JSON File | Limitations and Considerations | Conclusion | Session info

Last update: 2023-11-29
Started: 2023-09-19

Readme and manuals

Help Manual

Help pageTopics
Abundance boxplotabundance_plt
Adds taxonomic level of interest in the Recipe.add_tax
Adds variable of interest to the Recipeadd_var
Define consensus strategies from a Recipebake
Checks if Recipe contains a rarefaction stepcontains_rarefaction
Extract results from defined bakecool
Plot otuput of the 'overlap_df' function as a heatmap.corr_heatmap
Plot the number of shared DA OTUs between methods.exclusion_plt
Export step parameters as json.export_steps
Finds common OTU between method resultsfind_intersections
Returns phyloseq from Recipe-class objectget_phy
Returns tax_info from Recipe-class objectget_tax
Returns var_info from Recipe-class objectget_var
Import steps from json fileimport_steps
Returns data.frame with OTU intersection between methodsintersection_df
Plot results using UpSet plotintersection_plt
Phyloseq object from metaHIV projectmetaHIV_phy
Mutual finding plotmutual_plt
Extracts otu_table from phyloseq inside a Recipeotu_table
Overlap of significant OTUs between tested methods.overlap_df
Phyloseq Quality Control Metricsphy_qc
Recipe-class objectphyloseq_or_null-class Recipe-class show,PrepRecipe-method tibble_or_NULL-class
Performs all the steps defined in a Recipeprep
PrepRecipe-class objectPrepRecipe-class
Make a random identification field for stepsrand_id
Information about the Rarefaction processrarefaction_help
Create a Recipe for preprocessing dataRecipe recipe
Extracts sample_data from phyloseq inside a Recipesample_data
ALDEx2 analysisstep_aldex
ANCOM analysisstep_ancom
corncob analysisstep_corncob
DESeq2 analysisstep_deseq
Filter taxa by abundancestep_filter_by_abundance
Filter taxa by prevalencestep_filter_by_prevalence
Filter taxa by raritystep_filter_by_rarity
Filter taxa by variancestep_filter_by_variance
Filter taxa based on across-sample OTU abundance criteriastep_filter_taxa
lefse analysisstep_lefse
MaAsLin3 analysisstep_maaslin
Resample an OTU table such that all samples have the same library size.step_rarefaction
Subset taxa by taxonomic levelstep_subset_taxa
Wilcox analysisstep_wilcox
Get step_ids from recipesteps_ids
Extracts tax_table from phyloseq inside a Recipetax_table
PrepRecipe for metaHIV_phy datatest_prep_rec
Recipe for metaHIV_phy datatest_rec