Skip to content

Commit

Permalink
Merge pull request #231 from waldronlab/recycle0
Browse files Browse the repository at this point in the history
fix getBugphyzzSignatures when no sigs make min size. Closes #230
  • Loading branch information
lwaldron authored Sep 4, 2023
2 parents d4393fc + f30d7c5 commit 74bcd63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: bugphyzz
Title: Access to microbial physiologies in high throughput
Version: 0.0.1.3
Version: 0.0.1.4
Authors@R:
person(given = "First",
family = "Last",
Expand Down
2 changes: 1 addition & 1 deletion R/bugphyzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ getBugphyzzSignatures <- function(
})
sig_ranks <- purrr::map_chr(sig_ranks, ~ paste0(.x, collapse = ''))
sigs <- purrr::map(dfs, ~ unique(.x[[tax.id.type]]))
names(sigs) <- paste0('bp:', names(sigs), '|', sig_ranks)
names(sigs) <- paste0('bp:', names(sigs), '|', sig_ranks, recycle0 = TRUE)
return(sigs)
}

Expand Down

0 comments on commit 74bcd63

Please sign in to comment.