Skip to content

Commit

Permalink
Add vignette with the whole dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
sdgamboa committed Jan 7, 2025
1 parent c2950be commit bfcc5a7
Show file tree
Hide file tree
Showing 4 changed files with 900 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MicrobiomeBenchmarkDataAnalyses
Title: Benchmarking analyses with the MicrobiomeBenchmarkData package
Version: 0.99.18
Version: 0.99.19
Authors@R:
person("Samuel David", "Gamboa-Tuz", email = "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6863-7943"))
Expand Down
Binary file modified Figure4.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Ravel_2011_16S_BV - Bacterial vaginosis - Ethnicity undersampling"
title: "Ravel_2011_16S_BV - Bacterial vaginosis - downsampling"
output:
html_document:
toc: yes
Expand Down Expand Up @@ -110,7 +110,7 @@ head(prior_info)

Convert to phyloseq:

```{r convert to phyloseq}
```{r convert to phyloseq, warning=FALSE}
ps <- convertToPhyloseq(tse_genus)
sample_data(ps)[[conditions_col]] <- factor(
sample_data(ps)[[conditions_col]], levels = conditions
Expand All @@ -119,7 +119,7 @@ sample_data(ps)[[conditions_col]] <- factor(

Set method parameters:

```{r method parameters, weights, DA methods}
```{r method parameters, weights, DA methods, warning=FALSE}
norm_methods <- set_norm_list()
ps <- runNormalizations(norm_methods, ps, verbose = FALSE)
Expand Down Expand Up @@ -632,8 +632,7 @@ lefse_DA <- list(
) |>
rename(taxon_name = 'features') |>
left_join(taxa_annotations, by = 'taxon_name')
lefse
head(lefse_DA)
```
Plot lefse results:

Expand Down Expand Up @@ -880,7 +879,6 @@ plotsb <- ggpubr::ggarrange(

```{r, fig.height=6, fig.width=8}
plotsb
```

```{r, echo=FALSE}
Expand Down
Loading

0 comments on commit bfcc5a7

Please sign in to comment.