Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman committed Aug 30, 2023
1 parent ef7b01f commit a38684a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/miaViz.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ However, if the `rank` is set not `NULL` a bar plot is returned. At the same
time the `features` argument can be set to `NULL` (default).

```{r}
GlobalPatterns <- transformCounts(GlobalPatterns, method = "relabundance")
GlobalPatterns <- transformAssay(GlobalPatterns, method = "relabundance")
```

```{r}
Expand Down Expand Up @@ -261,7 +261,7 @@ plotColGraph(altExp(GlobalPatterns,"Genus"),
library("miaTime")
data(SilvermanAGutData, package="miaTime")
tse <- SilvermanAGutData
tse <- transformCounts(tse, method = "relabundance")
tse <- transformAssay(tse, method = "relabundance")
taxa <- getTopTaxa(tse, 2)
```

Expand Down Expand Up @@ -345,7 +345,7 @@ Principal Coordinates Analysis using Bray-Curtis dissimilarity on the
library(miaTime)
data(hitchip1006, package = "miaTime")
tse <- hitchip1006
tse <- transformCounts(tse, method = "relabundance")
tse <- transformAssay(tse, method = "relabundance")
## Ordination with PCoA with Bray-Curtis dissimilarity
tse <- runMDS(tse, FUN = vegan::vegdist, method = "bray", name = "PCoA_BC",
assay.type = "relabundance", na.rm = TRUE)
Expand Down

0 comments on commit a38684a

Please sign in to comment.