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
card.svg |card.png
dar/json (API)
NEWS

# 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 265 downloads 42 exports 198 dependencies

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

TargetResultTimeFilesSyslog
bioc-checksWARNING348
linux-devel-x86_64OK865
source / vignettesOK741
linux-release-x86_64OK877
macos-release-arm64OK632
macos-oldrel-arm64OK504
windows-develOK789
windows-releaseOK770
windows-oldrelOK724
wasm-releaseOK249

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:abindade4apeaskpassassertthatassortheadbackportsbase64encbeachmatbeeswarmBHBiobaseBiocBaseUtilsBiocGenericsBiocNeighborsBiocParallelBiocSingularbiomformatBiostringsbitbit64bitopsblusterbslibcacachemCairocallrcaToolscheckmatecirclizeclicliprclueclustercodetoolscolorspaceComplexHeatmapcpp11crayoncrosstalkcurldata.tableDBIDECIPHERdecontamDelayedArrayDelayedMatrixStatsdendextenddigestDirichletMultinomialdoParalleldplyrdqrngecodiveeggevaluatefarverfastmapFNNfontawesomeforeachformatRfsfutile.loggerfutile.optionsgclusgenericsGenomicRangesGetoptLongggbeeswarmggplot2ggrastrggrepelGlobalOptionsgluegplotsgridExtragtablegtoolsheatmaplyhighrhmshtmltoolshtmlwidgetshttrigraphIRangesirlbaisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglambda.rlaterlatticelazyevallifecyclemagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvmiamimeMultiAssayExperimentmulttestnlmeopensslotelpermutepheatmapphyloseqpillarpixmappkgconfigplotlyplyrpngprettyunitsprocessxprogresspromisespspurrrqapR6raggrappdirsRColorBrewerRcppRcppAnnoyRcppArmadilloRcppEigenRcppMLRcppProgressreadrregistryreshape2rjsonrlangrmarkdownRSpectrarsvdRtsneS4ArraysS4VectorsS7sassScaledMatrixscalesscaterscuttleSeqinfoseriationshapeSingleCellExperimentsitmosnowspSparseArraysparseMatrixStatsstringistringrSummarizedExperimentsurvivalsyssystemfontstextshapingtibbletidyrtidyselecttidytreetinytextreeioTreeSummarizedExperimentTSPtzdbUpSetRutf8uwotvctrsveganviporviridisviridisLitevroomwebshotwithrxfunXVectoryamlyulab.utils

Converting Common Data Formats to Phyloseq and TreeSummarizedExperiment

Rendered fromdata_import.Rmdusingknitr::rmarkdownon May 30 2026.

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

Filtering and Subsetting

Rendered fromfiltering_subsetting.Rmdusingknitr::rmarkdownon May 30 2026.

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

Introduction to dar

Rendered fromdar.Rmdusingknitr::rmarkdownon May 30 2026.

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

Reproducibility in Microbiome Data Analysis

Rendered fromimport_export_recipes.Rmdusingknitr::rmarkdownon May 30 2026.

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

Workflow with real data

Rendered fromarticle.Rmdusingknitr::rmarkdownon May 30 2026.

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

dar: Case of Study

Rendered frombioinformatics_vignette.Rmdusingknitr::rmarkdownon May 30 2026.

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

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