Recent Releases of taxa
taxa - taxa v0.4.2
- Experimenting with using
''instead ofNAfor missing values at the suggestion of Davis Vaughan (issue #212). - Fix failing CRAN tests due to
vctrsupdate.
- R
Published by zachary-foster almost 4 years ago
taxa - taxa 0.4.0
LARGE CHANGES:
The beginning of a complete rewrite of the taxa package to make the more basic component classes more like base R vectors.
The taxmap class is not yet reimplemented, but will be similar to the class in the previous versions of taxa.
The old version of taxa has been incorperated into the metacoder package unitl this version of taxa is mature, at which time metacoder will also use this version.
- R
Published by zachary-foster over 4 years ago
taxa - taxa 0.3.4
Bug fixes
- Fixed bug in
n_obsthat would cause an error when used on an object with tables with columns named by numbers. - Various minor bug fixes
- R
Published by zachary-foster almost 6 years ago
taxa - taxa v0.3.3
Bug fixes
- Numeric column names in tables in
taxmapare now supported - Various small bug fixes
- R
Published by zachary-foster almost 6 years ago
taxa - taxa v0.3.2
Bug fixes
- Parsers now correclty handle zero-length inputs (issue #185).
taxonomy_tableoptionadd_id_colnow works (issue #191).- other small bug fixes
Improvements
- The
parse_tax_dataoptionclass_colnow accepts negative column indexes, meaning "all other columns".
- R
Published by zachary-foster about 7 years ago
taxa - taxa v0.3.1
New features
- Added the
taxonomy_tablefunction that converts the information in ataxmaportaxonomyobject into a table with taxa as rows and ranks as columns. - Added the
print_treefunction that prints text-based trees oftaxmaportaxonomyobjects (issue #173). - Added
get_datasetfunction to get a single data set fromtaxmapobjects. Useful for piping with%>%. filter_taxaandfilter_obscan now subset anything that has names, length, and can be subset, not just tables, lists, and vectors. For example,DNAbinobjects from theapepackage can now be used intaxmapobjects (issue #178).
Improvements
- Parsers are somewhat faster and use less RAM (issue #177).
taxmapandtaxonomyparsers now treat taxa with the same name and same place in the taxonomy, but different ranks, database IDs, or authorities, as different taxa.filter_obscan now filter multiple datasets at once if they are the same length (issue #179).select_obsandarrange_obscan now work on multiple datasets at once.
Bug fixes
- Made the
"taxon_rank"value for theclass_keyoptions work withextract_tax_data. - Fixed bug in
taxmapprint method when printing tables with only a taxon ID column (issue #181).
Changes
- Option
targetin many functions renamed todatato make it more intuitive.
- R
Published by zachary-foster over 7 years ago
taxa - taxa 0.2.1
Improvements
parse_tax_datacan now incorperate rank information which can be accessed byresult$taxon_ranks()(issue #113).taxmapprint methods now have more information and color (issue #124).- Added
leaves_applyfunction that works likesubtaxa_apply, but on leaves (issue #126). - Functions with a
valueoption now return named taxon indexes by default, instead of unnamed taxon indexes (issue #128). lookup_tax_dataandextract_tax_datacan now use "fuzzy" matching when looking up taxon names, so taxon names can be mispelled and still be founds.lookup_tax_dataandextract_tax_datanow only look up unique sequence IDs, improving download speed.filter_obsnow can filter out observations in non-target data sets that are assocaited with taxa that are removed whendrop_taxa = TRUE(issue #143). This is done usingfilter_taxa, so thesupertaxa,subtaxa, andreassign_obsoptions are now available tofilter_obsto control how taxon removal is done.lookup_tax_dataandextract_tax_datanow have progress bars instead of printing lots of text when downloading information.mutate_obsnow creates new vector/tables if the data set specified does not exist (issue #121).- Add
filter_taxaoptionkeep_orderthat preserves input taxon order. It isTRUEby default, which changes how it used to work. Set toFALSEfor old behavior. - Using NSE with an ambiguous name (appears in multiple datasets) now produces a warning (issue #153).
Changes
- The
simplifyoption in many functions is now always handled the same way: If all vectors in a list are names, then unique key-value pairs are returned. Otherwise, names are ignored and unique values are returned. - The
leavesoption now behaves likesubtaxa, returning all leaves for each taxon. The old behavior can be replicated by setting the newsimplifyoption toTRUE(issue #127).
Bug fixes
filter_taxanow has better error messages for invalid inputs (issue #117).- Fix a bug that caused an error in
filter_taxawhen no taxa pass filter (issue #116). - Fixed a bug in
parse_tax_datawhenclass_keywas not named (issue #131). - Fixed bug in
hierarchyprint method withtaxon_idclass was not used (issue #138). - Fixed bug in
parse_tax_datawhen all classification data isNA. - Fixed bug in
taxmapprint method when printing zero-length lists and vectors (issue #148).
- R
Published by zachary-foster almost 8 years ago
taxa - taxa v0.2.0
Bug fixes
- Fixed a few problems with using duplicated inputs to
subset(issue #88, issue #89) - Fixed a bug that caused an error when using unnamed vectors (issue #86)
- Fixed a bug that prevents using sequence accession numbers (issue #85)
- Fixed bug in
lookup_tax_dataandextract_tax_datathat caused an error when one of the queries failed too download. - Fixed bug that caused "data" argument of
obs_applyto not work when passed as a varaible (issue #97)
Improvements
- Added
map_data_for mapping without using NSE. - Make default dataset for
n_obsandn_obs_1and make them available for NSE (issue #91 parse_tax_data/extract_tax_datacan now parse things likephylum;Nitrosopumilales;order;Nitrosopumilaceae;family;and split out the rank and taxon names by using multiple matches to theclass_regexwhenclass_sepis NULL.extract_tax_datanow gives warnings if a regex does not match.- Added
n_supertaxa_1function to get number of immediate supertaxa (always 1 or 0). - Added
branchesfunction to go withroots,leaves, andstems. (issue #56) - Added
internodesandis_internodefunctions to go withroots,leaves,branches, andstems. USeful for removing uninformative taxonomic ranks/taxa. - Started to incorporate ability for
taxon,taxon_name,taxon_id,taxon_rank, andtaxato handleNULLinputs as first class citizens to handle cases when you have essentially a blank taxon (use case comes fromtaxizepackage) #95 #107 - data parsers: Put long, often unused columns last (issue #93)
- When parsing classifications that have per-taxon info add input id column (issue #92)
- New function
classificationas an abstraction to get either hierarchy of taxon indexes, names, or ids (issue #57) - New function
get_data_framefor bothTaxonomyandTaxmapobjects that wraps aroundget_datato coerce into adata.frame. (issue #58) (PR #105)
Changes
- In the output of the taxmap parsing functions like
parse_tax_data, I moved "taxonid" and "inputindex" columns to front and "input" to rear. Also "taxdata" now comes before "classdata".
- R
Published by sckott about 8 years ago