Skip to content

Commit

Permalink
Merge pull request #70 from adrientaudiere/dev
Browse files Browse the repository at this point in the history
fix : fix a bug in multitax_bar_pq
  • Loading branch information
adrientaudiere authored Jan 22, 2024
2 parents bc9458a + 4e76442 commit a0e6aa2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@ multitax_bar_pq <- function(
summarise(Abundance = sum(Abundance)) %>%
filter(Abundance > 0)

psm <- inner_join(psm_2, psm_1[,c("OTU", lvl1, lvl2, lvl3, fact)],
psm <- inner_join(psm_2, psm_1[,c("OTU", lvl1, lvl2, lvl3)],
by = join_by("OTU" == "OTU"), multiple =
"first")

Expand Down
7 changes: 7 additions & 0 deletions vignettes/tengeler.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ vignette: >
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

This tutorial explore a phyloseq version of the dataset from Tengeler et al. (2020) available in the `mia` package.

```{r, include = FALSE}
Expand Down Expand Up @@ -158,6 +159,12 @@ biplot_pq(subset_taxa_pq(ten, taxa_sums(ten) > 3000),
multitax_bar_pq(ten, "Phylum", "Class", "Order", "patient_status")
```


```{r}
multitax_bar_pq(ten, "Phylum", "Class", "Order", "patient_status",
nb_seq = FALSE, log10trans = FALSE)
```

# Differential abundance analysis

```{r}
Expand Down

0 comments on commit a0e6aa2

Please sign in to comment.