Package: MiscMetabar 0.10.2

MiscMetabar: Miscellaneous Functions for Metabarcoding Analysis

Facilitate the description, transformation, exploration, and reproducibility of metabarcoding analyses. 'MiscMetabar' is mainly built on top of the 'phyloseq', 'dada2' and 'targets' R packages. It helps to build reproducible and robust bioinformatics pipelines in R. 'MiscMetabar' makes ecological analysis of alpha and beta-diversity easier, more reproducible and more powerful by integrating a large number of tools. Important features are described in Taudière A. (2023) <doi:10.21105/joss.06038>.

Authors:Adrien Taudière [aut, cre, cph]

MiscMetabar_0.10.2.tar.gz
MiscMetabar_0.10.2.zip(r-4.5)MiscMetabar_0.10.2.zip(r-4.4)MiscMetabar_0.10.2.zip(r-4.3)
MiscMetabar_0.10.2.tgz(r-4.4-any)MiscMetabar_0.10.2.tgz(r-4.3-any)
MiscMetabar_0.10.2.tar.gz(r-4.5-noble)MiscMetabar_0.10.2.tar.gz(r-4.4-noble)
MiscMetabar_0.10.2.tgz(r-4.4-emscripten)MiscMetabar_0.10.2.tgz(r-4.3-emscripten)
MiscMetabar.pdf |MiscMetabar.html
MiscMetabar/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/adrientaudiere/miscmetabar/issues

Datasets:
  • Tengeler2020_pq - This tutorial explores the dataset from Tengeler et al. (2020) available in the 'mia' package. obtained using 'mia::makePhyloseqFromTreeSE(Tengeler2020)'
  • data_fungi - Fungal OTU in phyloseq format
  • data_fungi_mini - Fungal OTU in phyloseq format
  • data_fungi_sp_known - Fungal OTU in phyloseq format

On CRAN:

sequencingmicrobiomemetagenomicsclusteringclassificationvisualizationampliconamplicon-sequencingbiodiversity-informaticsecologyilluminametabarcodingngs-analysis

6.32 score 13 stars 20 scripts 669 downloads 143 exports 107 dependencies

Last updated 1 months agofrom:d54233e5dd. Checks:OK: 1 WARNING: 1 NOTE: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winNOTENov 09 2024
R-4.5-linuxWARNINGNov 09 2024
R-4.4-winNOTENov 09 2024
R-4.4-macNOTENov 09 2024
R-4.3-winNOTENov 09 2024
R-4.3-macNOTEOct 10 2024

Exports:accu_plotaccu_plot_balanced_modalityaccu_samp_thresholdadd_blast_infoadd_dna_to_phyloseqadd_funguild_infoadd_info_to_sam_dataadd_new_taxonomy_pqadonis_phyloseqadonis_pqadonis_rarperm_pqall_object_sizeancombc_pqare_modality_even_depthas_binary_otu_tableasv2otubiplot_physeqbiplot_pqblast_pqblast_to_derepblast_to_phyloseqbuild_phytree_pqchimera_detection_vschimera_removal_vscircle_pqclean_physeqclean_pqcompare_pairs_pqcount_seqcutadapt_remove_primersdiff_fct_diff_classdist_bycoldist_pos_controldistri_1_taxafac2colfilter_asv_blastfilter_taxa_blastfilter_trimformattable_pqfunguild_assignfunky_colorget_file_extensionget_funguild_dbggaluv_pqggbetween_pqggscatt_pqggVenn_phyloseqggvenn_pqglmutli_pqgraph_test_pqhill_phyloseqhill_pqhill_test_rarperm_pqhill_tuckey_phyloseqhill_tuckey_pqiNEXT_pqis_cutadapt_installedis_falco_installedis_krona_installedis_mumu_installedis_swarm_installedis_vsearch_installedkronaLCBD_pqlist_fastq_fileslulululu_phyloseqlulu_pqmerge_kronamerge_samples2merge_taxa_vecmulti_biplot_pqmultipatt_pqmultiplotmultitax_bar_pqmumu_pqnormalize_prop_pqotu_circlepercphyloseq_to_edgeRphyseq_graph_testphyseq_or_string_to_dnaplot_ancombc_pqplot_deseq2_phyloseqplot_deseq2_pqplot_edgeR_phyloseqplot_edgeR_pqplot_guild_pqplot_LCBD_pqplot_mtplot_SCBD_pqplot_tax_pqplot_tsne_pqplot_var_part_pqpostcluster_pqpsmelt_samples_pqrarefy_sample_count_by_modalityread_phyloseqread_pqrename_samplesrename_samples_otu_tablereorder_taxa_pqridges_pqrotl_pqsample_data_with_new_namessankey_phyloseqsankey_pqsave_pqsearch_exact_seq_pqselect_one_samplesignif_ancombcsimplify_taxoSRS_curve_pqsubsample_fastqsubset_samples_pqsubset_taxa_pqsubset_taxa_tax_controlsummary_plot_phyloseqsummary_plot_pqswarm_clusteringtax_bar_pqtax_datatabletaxa_as_columnstaxa_as_rowstaxa_only_in_one_leveltbl_sum_samdatatrack_wkflowtrack_wkflow_samplestransptreemap_pqtsne_pqunique_or_naupset_pqupset_test_pqvar_par_pqvar_par_rarperm_pqvenn_phyloseqvenn_pqverify_pqvs_search_globalvsearch_clusteringwrite_phyloseqwrite_pq

Dependencies:abindade4apeaskpassBHBiobaseBiocGenericsBiocParallelbiomformatBiostringsbitopscliclustercodetoolscolorspacecpp11crayoncurldada2data.tableDelayedArraydeldirdigestdplyrfansifarverforeachformatRfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomeInfoDbDataGenomicAlignmentsGenomicRangesggplot2gluegtablehttrhwriterigraphinterpIRangesisobanditeratorsjpegjsonlitelabelinglambda.rlatticelatticeExtralifecyclemagrittrMASSMatrixMatrixGenericsmatrixStatsmgcvmimemulttestmunsellnlmeopensslpermutephyloseqpillarpixmappkgconfigplyrpngpurrrpwalignR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelreshape2rhdf5rhdf5filtersRhdf5libRhtslibrlangRsamtoolsS4ArraysS4VectorsscalesShortReadsnowspSparseArraystringistringrSummarizedExperimentsurvivalsystibbletidyselectUCSC.utilsutf8vctrsveganviridisLitewithrXVectorzlibbioc

Introduction

Rendered fromMiscMetabar.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2024-10-10
Started: 2023-03-08

Readme and manuals

Help Manual

Help pageTopics
'MiscMetabar' packageMiscMetabar-package
Plot accumulation curves for 'phyloseq-class' objectaccu_plot
Plot accumulation curves with balanced modality and depth rarefactionaccu_plot_balanced_modality
Compute the number of sequence to obtain a given proportion of ASV in accumulation curvesaccu_samp_threshold
Add information from 'blast_pq()' to the 'tax_table' slot of a _phyloseq_ objectadd_blast_info
Add dna in 'refseq' slot of a 'physeq' object using taxa names and renames taxa using prefix_taxa_names and number (default Taxa_1, Taxa_2 ...)add_dna_to_phyloseq
Add information about Guild for FUNGI the FUNGuild databseadd_funguild_info
Add information to sample_data slot of a phyloseq-class objectadd_info_to_sam_data
Add new taxonomic rank to a phyloseq object.add_new_taxonomy_pq
Permanova on a phyloseq objectadonis_pq
Permanova (adonis) on permutations of rarefaction even depthadonis_rarperm_pq
List the size of all objects of the GlobalEnv.all_object_size
Run ANCOMBC2 on phyloseq objectancombc_pq
Test if the mean number of sequences by samples is link to the modality of a factorare_modality_even_depth
Transform the otu_table of a 'phyloseq-class' object into a 'phyloseq-class' object with a binary otu_table.as_binary_otu_table
Visualization of two samples for comparisonbiplot_pq
Blast all sequence of 'refseq' slot of a 'phyloseq-class' object against a custom database.blast_pq
Blast some sequence against sequences from of a 'derep-class' object.blast_to_derep
Blast some sequence against 'refseq' slot of a 'phyloseq-class' object.blast_to_phyloseq
Build phylogenetic trees from refseq slot of a phyloseq objectbuild_phytree_pq
Detect for chimera taxa using vsearchchimera_detection_vs
Search for a list of sequence in an object to remove chimera taxa using vsearchchimera_removal_vs
Plot OTU circle for 'phyloseq-class' objectcircle_pq
Clean phyloseq object by removing empty samples and taxaclean_pq
Compare samples in pairs using diversity and number of ASV including shared ASV.compare_pairs_pq
Count sequences in fasta or fastq filecount_seq
Remove primers using cutadaptcutadapt_remove_primers
Fungal OTU in phyloseq formatdata_fungi
Fungal OTU in phyloseq formatdata_fungi_mini
Fungal OTU in phyloseq formatdata_fungi_sp_known
Compute different functions for different class of vector.diff_fct_diff_class
Compute paired distances among matrix (e.g. otu_table)dist_bycol
Calculate ecological distance among positive controls vs distance for all samplesdist_pos_control
Distribution of sequences across a factor for one taxondistri_1_taxa
Translates a factor into colors.fac2col
Filter undesirable taxa using blast against a custom database.filter_asv_blast filter_taxa_blast
A wrapper of the function 'dada2::filterAndTrim()' to use in targets pipelinefilter_trim
Create a visualization table to describe taxa distribution across a modalityformattable_pq
Assign Guilds to Organisms Based on Taxonomic Classificationfunguild_assign
Funky palette colorfunky_color
Get the extension of a fileget_file_extension
Retrieve the FUNGuild databaseget_funguild_db
Alluvial plot for taxonomy and samples factor vizualisationggaluv_pq
Box/Violin plots for between-subjects comparisons of Hill Numberggbetween_pq
Scatterplot with marginal distributions and statistical results against Hill diversity of phyloseq objectggscatt_pq
Venn diagram of 'phyloseq-class' object using 'ggVennDiagram::ggVennDiagram' functionggvenn_pq
Automated model selection and multimodel inference with (G)LMs for phyloseqglmutli_pq
Performs graph-based permutation tests on phyloseq objectgraph_test_pq
Graphical representation of hill number 0, 1 and 2 across a factorhill_pq
Test multiple times effect of factor on Hill diversity with different rarefaction even depthhill_test_rarperm_pq
Calculate hill number and compute Tuckey post-hoc testhill_tuckey_pq
iNterpolation and EXTrapolation of Hill numbers (with iNEXT)iNEXT_pq
Test if cutadapt is installed.is_cutadapt_installed
Test if falco is installed.is_falco_installed
Test if krona is installed.is_krona_installed
Test if mumu is installed.is_mumu_installed
Test if swarm is installed.is_swarm_installed
Test if vsearch is installed.is_vsearch_installed
Make Krona files using KronaTools.krona
Compute and test local contributions to beta diversity (LCBD) of samplesLCBD_pq
List fastq fileslist_fastq_files
Post Clustering Curation of Amplicon Data.lulu
Lulu reclustering of class 'physeq'lulu_pq
Merge Krona files using KronaTools.merge_krona
Merge samples by a sample variable or factormerge_samples2 merge_samples2,otu_table-method merge_samples2,phyloseq-method merge_samples2,sample_data-method
Merge taxa in groups (vectorized version)merge_taxa_vec merge_taxa_vec,otu_table-method merge_taxa_vec,phylo-method merge_taxa_vec,phyloseq-method merge_taxa_vec,taxonomyTable-method merge_taxa_vec,XStringSet-method
Deprecated function(s) in the MiscMetabar packageadonis_phyloseq biplot_physeq clean_physeq ggVenn_phyloseq hill_phyloseq hill_tuckey_phyloseq lulu_phyloseq MiscMetabar-deprecated otu_circle physeq_graph_test plot_deseq2_phyloseq plot_edgeR_phyloseq read_phyloseq sankey_phyloseq summary_plot_phyloseq venn_phyloseq write_phyloseq
Visualization of a collection of couples of samples for comparisonmulti_biplot_pq
Test and plot multipatt resultmultipatt_pq
Multiple plot functionmultiplot
Plot taxonomic distribution across 3 taxonomic levels and optionally one sample factormultitax_bar_pq
MUMU reclustering of class 'physeq'mumu_pq
Normalize OTU table using samples depthnormalize_prop_pq
Convert a value (or a fraction x/y) in percentageperc
Convert phyloseq OTU count data into DGEList for edgeR packagephyloseq_to_edgeR
Return a DNAStringSet object from either a character vector of DNA sequences or the 'refseq' slot of a phyloseq-class objectphyseq_or_string_to_dna
Plot ANCOMBC2 result for phyloseq objectplot_ancombc_pq
Plot DESeq2 results for a phyloseq or a DESeq2 object.plot_deseq2_pq
Plot edgeR results for a phyloseq or a edgeR object.plot_edgeR_pq
Plot information about Guild from tax_table slot previously created with 'add_funguild_info()'plot_guild_pq
Plot and test local contributions to beta diversity (LCBD) of samplesplot_LCBD_pq
Plot the result of a mt test 'phyloseq::mt()'plot_mt
Plot species contributions to beta diversity (SCBD) of samplesplot_SCBD_pq
Plot taxonomic distribution in function of a factor with stacked bar in %plot_tax_pq
Plot a tsne low dimensional representation of a phyloseq objectplot_tsne_pq
Plot the partition the variation of a phyloseq objectplot_var_part_pq
Recluster sequences of an object of class 'physeq' or a list of DNA sequencesasv2otu postcluster_pq
Build a sample information tibble from physeq objectpsmelt_samples_pq
Rarefy (equalize) the number of samples per modality of a factorrarefy_sample_count_by_modality
Read phyloseq object from multiple csv tables and a phylogenetic tree in Newick format.read_pq
Rename the samples of a phyloseq slotrename_samples
Rename samples of an otu_tablerename_samples_otu_table
Reorder taxa in otu_table/tax_table/refseq slot of a phyloseq objectreorder_taxa_pq
Ridge plot of a phyloseq objectridges_pq
rotl wrapper for phyloseq datarotl_pq
Load sample data from file and rename samples using names of samples and an optional ordersample_data_with_new_names
Sankey plot of 'phyloseq-class' objectsankey_pq
A wrapper of write_pq to save in all three possible formatssave_pq
Search for exact matching of sequencessearch_exact_seq_pq
Select one sample from a physeq objectselect_one_sample
Select a subset of taxa in a specified order where possibleselect_taxa select_taxa,otu_table,character-method select_taxa,phylo,character-method select_taxa,phyloseq,character-method select_taxa,sample_data,character-method select_taxa,taxonomyTable,character-method select_taxa,XStringSet,character-method
Filter ancombc_pq resultssignif_ancombc
Simplify taxonomy by removing some unused characters such as "k__"simplify_taxo
Scaling with ranked subsampling (SRS) curve of phyloseq objectSRS_curve_pq
Subsample a fastq file copying the n_seq first sequences in a given foldersubsample_fastq
Subset samples using a conditional boolean vector.subset_samples_pq
Subset taxa using a conditional named boolean vector.subset_taxa_pq
Subset taxa using a taxa control or distribution based methodsubset_taxa_tax_control
Summarize a 'phyloseq-class' object using a plot.summary_plot_pq
Re-cluster sequences of an object of class 'physeq' or cluster a list of DNA sequences using SWARMswarm_clustering
Plot the distribution of sequences or ASV in one taxonomic levelstax_bar_pq
Make a datatable with the taxonomy of a 'phyloseq-class' objecttax_datatable
Force taxa to be in columns in the otu_table of a physeq objecttaxa_as_columns
Force taxa to be in columns in the otu_table of a physeq objecttaxa_as_rows
Show taxa which are present in only one given level of a modalitytaxa_only_in_one_level
Summarize information from sample data in a tabletbl_sum_samdata
This tutorial explores the dataset from Tengeler et al. (2020) available in the 'mia' package. obtained using 'mia::makePhyloseqFromTreeSE(Tengeler2020)'Tengeler2020_pq
Track the number of reads (= sequences), samples and cluster (e.g. ASV) from various objects including dada-class and derep-class.track_wkflow
Track the number of reads (= sequences), samples and cluster (e.g. ASV) for each sampletrack_wkflow_samples
Adds transparency to a vector of colorstransp
Plot treemap of 2 taxonomic levelstreemap_pq
Compute tSNE position of samples from a phyloseq objecttsne_pq
Get the unique value in x or NA if noneunique_or_na
Make upset plot for phyloseq object.upset_pq
Test for differences between intersectionsupset_test_pq
Partition the Variation of a phyloseq object by 2, 3, or 4 Explanatory Matricesvar_par_pq
Partition the Variation of a phyloseq object with rarefaction permutationsvar_par_rarperm_pq
Venn diagram of 'phyloseq-class' objectvenn_pq
Verify the validity of a phyloseq objectverify_pq
Search for a list of sequence in a fasta file against physeq reference sequences using vsearchvs_search_global
Recluster sequences of an object of class 'physeq' or cluster a list of DNA sequences using vsearch softwarevsearch_clustering
Save phyloseq object in the form of multiple csv tables.write_pq