Releases: grunwaldlab/metacoder
Releases · grunwaldlab/metacoder
metacoder 0.3.8
Maintenance release to get metacoder back on CRAN after dependency taxize was temporarily removed from CRAN.
metacoder 0.3.6
Notable changes made:
- When an ordered factor is supplied to the
groupsargument ofcompare_groups, the order of levels is used to arrange the results. This can be used to change the order of groups when the output is used withheat_tree_matrix(issue #323). - Added
calc_diff_abund_deseq2function to use DESeq2 to produce output likecompare_groupuseful forheat_tree_matrix - Fixed error with
primersearchandprimersearch_rawwhen there is a single match to a single query (issue #326) - Fixed
Error in grid.Call.graphics(C_setviewport, vp, TRUE) : non-finite location and/or size for viewportwhen usingheat_tree_matrixwith only a single comparison. Now a single differential heat tree is made instead of a matrix #328). - Replace use of depreciated
n_extrainprint.
metacoder 0.3.5
- Replaced depreciated
as.tblfunction fromdplyr' - Added
node_legend_titleandedge_legend_titleoptions toheat_treeto specify the title for each legend. - Added options to
heat_treeto set the number of significant fingures used for the numbers in the legend. - Reintegrated the functionality of the
taxapackage in order to prepare for releasing a rewritten version of taxa. - Reduced the number of dependencies and made some optional.
metacoder 0.3.4
- Added parsing of taxon ranks to the UNITE parser
- Versious minor bug fixes
metacoder 0.3.2
- calculation functions that use the
groupsoption now warn ifgroupsis used withoutcols. - Fixed a bug in some calculation functions that would name columns incorrectly in some data sets when the
groupsoption was used. (issue #233).
metacoder 0.3.1
Bug fixes
calc_taxon_abundno longer errors when a taxon has no observations associated with it.- New
heat_tree_matrixoptions to change size and color of row and column labels. - Fixed a bug causing the size legend not to be shown (issue #249.
- Now when a node_color_interval is set but a edge_color_interval is not and edge_color is not used, the edge_color_interval is the same as the node_color_interval.
New features
- Added parser for
dada2results calledparse_dada2and writers to convert back calledmake_dada2_asv_tableandmake_dada2_tax_table.
Changes
- Started using the
viridiscolors forheat_treeby default (issue #133.
metacoder 0.3.0
Bug fixes
- Fixed bug in
calc_n_sampleswhere the message reported the number of taxa instead of the number of rows in the table. - Fixed bug in
heat_tree_matrixthat happened when factors were used for treatments (issue #240. zero_low_countsnow ignoresNAs instead of odd error.compare_groupsnow ignoresNAs instaed of returningNaN
Improvements
- Added
more_thanoption tocalc_n_samplesso that users can set the minimum threshold for whether a sample is counted or not instead of it always 1. - Added
calc_prop_samplesfunction for calculating the proportion of samples with a value greater than 0 (issues #233. primersearchis faster and takes less memory by usingape::DNAbinobjects internally.- Made
calc_taxon_abundabout 5x faster.
New features
taxmapobjects can be converted tophyloseqobjects usingas_phyloseq.- Added parser for uBiome data.
Changes
primersearchnow takes and returns ataxmapobject with results added as tables.primersearch_rawis a new function that behaves like the oldprimersearchdid, returning a table.- The
datasetoption of many functions has been renamed todatato match the option name in thetaxapackage. - Numerous spelling fixes.
metacoder 0.2.1
metacoder 0.2.1
Bug fixes
- Fixes numerous bugs in
heat_tree_matrixthat happen when the input data is not exactly like that produced bycompare_groups(issues #195, #196, #197). - Fixed how
output_filewas used withheat_tree_matrix. Now whole plot is saved instead of last subplot. (issue #203) - Fixed "unused argument" bug in
parse_mothur_tax_summarywhen reading from a file path (issue #211). - Fixed bug when in
zero_low_countswhen usinguse_total = TRUE(issue #227). - Numerous other small fixes.
- Fixed
parse_phyloseqerror when arbitrary rank names were used.
Improvements
- Node and edge legends can now be excluded individually (Thanks @grabear!) (issue #202).
- The output of
heat_tree_matrixalways has a 1:1 aspect ratio. (issue #205) - Numerous calculation functions added, with more consistent behavior.
metacoder 0.2.0
Bug fixes
- Fixed bug in
subtaxathat caused an error when all ofsubsetisFALSE. (issue #143) - Fixed bug in
filter_taxathat caused an error when all taxa are filtered out. (issue #144)
Breaking changes
- All taxmap-related manipulation functions have been moved to the taxa package.
heat_treenow uses thetaxmapclass defined in the taxa package.- Numerous changes (i.e. upgrades) to
primersearch
Improvements
- Upgraded
primersearchoutput to be cleaner and have info like the amplicon sequence and primer binding sites. - Added functions to identift and remove taxa with ambiguous names like "unknown"
- code from ggrepel package now used to avoid overlapping labels. Thanks Kamil Slowikowski!
- New function
heat_tree_matrixto make plotting a pairwise matrix of heat trees for comparing treatments. - New parser named
parse_mothur_tax_summaryfor mothur *.tax.summary file made by classify.seqs. - New parser named
parse_mothur_taxonomyfor mothur *.taxonomy file made by classify.seqs. - New parser named
parse_qiime_biomfor the QIIME BIOM output. - New parser named
parse_phyloseqto convert phyloseq objects. - New parser named
parse_newickto parse newick files. - New parser named
parse_unite_generalfor unite general FASTA release. (issue #154) - New parser named
parse_rdpfor RDP FASTA release. (issue #160) - New parser named
parse_silva_fastafor SILVA FASTA release. (issue #162) - New function
calc_obs_propsto calculate proportions from observation counts (issue #167 - New parser named
parse_greengenesfor the Greengenes database. (issue #?) - New writer named
write_greengenesto create an imitation of the Greengenes database format. - New writer named
write_rdpto create an imitation of the RDP database format. - New writer named
write_mothur_taxonomyto create an imitation of the mothur taxonomy format. - New writer named
write_unite_generalto create an imitation of the UNITE general FASTA release. - New writer named
write_silva_fastato create an imitation of the SILVA FASTA release. - New function named
compare_treatmentsto compare multiple samples in multiple treatments, applying a user-defined function. - New function named
calc_taxon_abundto sum observation values for each taxon. - Added
col_namesoption tocalc_taxon_abundto set names of output columns.
metacoder 0.2.0
metacoder 0.2.0
Bug fixes
- Fixed bug in
subtaxathat caused an error when all ofsubsetisFALSE. (issue #143) - Fixed bug in
filter_taxathat caused an error when all taxa are filtered out. (issue #144)
Breaking changes
- All taxmap-related manipulation functions have been moved to the taxa package.
heat_treenow uses thetaxmapclass defined in the taxa package.- Numerous changes (i.e. upgrades) to
primersearch
Improvements
- Upgraded
primersearchoutput to be cleaner and have info like the amplicon sequence and primer binding sites. - Added functions to identift and remove taxa with ambiguous names like "unknown"
- code from ggrepel package now used to avoid overlapping labels. Thanks Kamil Slowikowski!
- New function
heat_tree_matrixto make plotting a pairwise matrix of heat trees for comparing treatments. - New parser named
parse_mothur_tax_summaryfor mothur *.tax.summary file made by classify.seqs. - New parser named
parse_mothur_taxonomyfor mothur *.taxonomy file made by classify.seqs. - New parser named
parse_qiime_biomfor the QIIME BIOM output. - New parser named
parse_phyloseqto convert phyloseq objects. - New parser named
parse_newickto parse newick files. - New parser named
parse_unite_generalfor unite general FASTA release. (issue #154) - New parser named
parse_rdpfor RDP FASTA release. (issue #160) - New parser named
parse_silva_fastafor SILVA FASTA release. (issue #162) - New function
calc_obs_propsto calculate proportions from observation counts (issue #167 - New parser named
parse_greengenesfor the Greengenes database. (issue #?) - New writer named
write_greengenesto create an imitation of the Greengenes database format. - New writer named
write_rdpto create an imitation of the RDP database format. - New writer named
write_mothur_taxonomyto create an imitation of the mothur taxonomy format. - New writer named
write_unite_generalto create an imitation of the UNITE general FASTA release. - New writer named
write_silva_fastato create an imitation of the SILVA FASTA release. - New function named
compare_treatmentsto compare multiple samples in multiple treatments, applying a user-defined function. - New function named
calc_taxon_abundto sum observation values for each taxon. - Added
col_namesoption tocalc_taxon_abundto set names of output columns.
metacoder 0.1.3
Mostly minor improvements and bug fixes. Larger changes are waiting on the taxa package to be done, which will be the new home of the taxmap class and the associated dplyr-like manipulating functions like filter_taxa.
Improvements
- Provided helpful error message when the
evaluation nested too deeply: infinite recursion / options(expressions=)?occurs due to too many labels being printed. heat_tree: improved how the predicted bondries of text is calcuated, so text with any rotation, justification, or newlines influences margins correctly (i.e. does not get cut off).heat_tree: Can now save multiple file outputs in different formats at once
Minor changes
heat_treenow gives a warning if infinite values are given to itextract_taxonomy: There is now a warning message if class regex does not match (issue #123)heat_tree: Increased lengend text size and reduced number of labelsextract_taxonomy: addedbatch_sizeoption to help deal with invalid IDs better- Added CITATION file
Breaking changes
- The
heat_treeoptionmargin_sizefuncion now takes four values instead of 2.
Bug fixes
heat_tree: Fixed bug when color is set explicitly (e.g. "grey") instead of raw numbers and the legend is not removed. Now a mixure of raw numbers and color names can be used.- Fixed bugs caused by dplyr version update
- Fixed bug in
heat_treethat made values not in the input taxmap object not associate with the right taxa. See this post. extract_taxonomy: Fixed an error that occured when not all inputs could be classified and sequences were supplied- Fixed bug in
primersearchthat cased the wrong primer sequence to be returned when primers match in the reverse direction - Fixed a bug in
parse_mothur_summarywhere "unclassified" had got changed to "untaxmap" during a search and replace - Fixed outdated example code for
extract_taxonomy - Fixed a bug in
mutate_taxaandmutate_obsthat made replacing columns result in new columns with duplicate names.