Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated example in docs #127

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
^renv$
^renv\.lock$
TuomasBorman marked this conversation as resolved.
Show resolved Hide resolved
^miaViz\.Rproj$
^\.Rproj\.user$
.github
Expand All @@ -7,3 +9,4 @@
inst/extras/
^doc$
^Meta$
^\.Rprofile$
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ docs
.DS_Store
/doc/
/Meta/
renv/
.Rprofile

4 changes: 2 additions & 2 deletions R/plotAbundance.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
#' data(GlobalPatterns, package="mia")
#' se <- GlobalPatterns
#'
#' ## Plotting abundance using the first taxonomic rank as default
#' plotAbundance(se, assay.type="counts")
#' ## Plotting counts using the first taxonomic rank as default
#' plotAbundance(se, assay.type="counts", use_relative=FALSE) + labs(y="Counts")
#'
#' ## Using "Phylum" as rank
#' plotAbundance(se, assay.type="counts", rank = "Phylum", add_legend = FALSE)
Expand Down
4 changes: 2 additions & 2 deletions man/plotAbundance.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-2plotSeries.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
context("plot series")
test_that("plot series", {
# Load data from miaTime package
skip_if_not_installed("miatime")
skip_if_not_installed("miaTime")
data(SilvermanAGutData, package = "miaTime")
tse <- SilvermanAGutData
tse_sub <- tse[1:5]
Expand Down
Loading