Skip to content

Commit

Permalink
preparing for CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
zachary-foster committed May 1, 2018
1 parent 00d6afb commit d99c957
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 28 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# News

## Current
## metacoder 0.2.1

### Bug fixes

Expand Down
5 changes: 0 additions & 5 deletions R/heat_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ heat_tree.Taxmap <- function(.input, ...) {
#' Passed to the \code{\link{igraph}} layout function used.
#'
#'
#' @section Elements
#'
#' @section labels:
#'
#' The labels of nodes, edges, and trees can be added.
Expand All @@ -232,8 +230,6 @@ heat_tree.Taxmap <- function(.input, ...) {
#'
#' Accepts a vector, the same length \code{taxon_id} or a factor of its length.
#'
#' @section Element Properties
#'
#' @section sizes:
#'
#' The size of nodes, edges, labels, and trees can be mapped to various conditions.
Expand Down Expand Up @@ -422,7 +418,6 @@ heat_tree.Taxmap <- function(.input, ...) {
#' node_size_interval = c(10, 100))
#'
#' }
#' @keywords internal
#' @method heat_tree default
#' @rdname heat_tree
heat_tree.default <- function(taxon_id, supertaxon_id,
Expand Down
11 changes: 11 additions & 0 deletions R/remove_ambiguous.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ ambiguous_patterns <- function(unknown = TRUE, uncultured = TRUE,
#' determining a match.
#'
#' @return TRUE/FALSE vector corresponding to \code{taxon_names}
#'
#' @examples
#' is_ambiguous(c("unknown", "uncultured", "homo sapiens", "kfdsjfdljsdf"))
#'
#' @export
is_ambiguous <- function(taxon_names, unknown = TRUE, uncultured = TRUE,
Expand Down Expand Up @@ -104,6 +107,14 @@ is_ambiguous <- function(taxon_names, unknown = TRUE, uncultured = TRUE,
#'
#' @return A \code{\link[taxa]{taxmap}} object
#'
#' @examples
#' obj <- parse_tax_data(c("Plantae;Solanaceae;Solanum;lycopersicum",
#' "Plantae;Solanaceae;Solanum;tuberosum",
#' "Plantae;Solanaceae;Solanum;unknown",
#' "Plantae;Solanaceae;Solanum;uncultured",
#' "Plantae;UNIDENTIFIED"))
#' filter_ambiguous_taxa(obj)
#'
#' @export
filter_ambiguous_taxa <- function(obj, unknown = TRUE, uncultured = TRUE,
name_regex = ".", ignore_case = TRUE,
Expand Down
9 changes: 9 additions & 0 deletions man/filter_ambiguous_taxa.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions man/heat_tree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions man/is_ambiguous.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 14 additions & 13 deletions man/ncbi_taxon_sample.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/parse_qiime_biom.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d99c957

Please sign in to comment.