From bbe4939490de15e4ec9eda441b92c6aeee90d067 Mon Sep 17 00:00:00 2001 From: Louise Deconinck Date: Tue, 19 Sep 2023 11:06:26 +0200 Subject: [PATCH] Run styler and fix lintr issues --- R/write_h5ad.R | 2 +- vignettes/getting-started.Rmd | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/R/write_h5ad.R b/R/write_h5ad.R index fdca177a..c1fb0411 100644 --- a/R/write_h5ad.R +++ b/R/write_h5ad.R @@ -30,7 +30,7 @@ #' ncells <- 100 #' counts <- matrix(rpois(20000, 5), ncol = ncells) #' logcounts <- log2(counts + 1) -# +#' # #' pca <- matrix(runif(ncells * 5), ncells) #' tsne <- matrix(rnorm(ncells * 2), ncells) #' diff --git a/vignettes/getting-started.Rmd b/vignettes/getting-started.Rmd index 417f2062..459c22a2 100644 --- a/vignettes/getting-started.Rmd +++ b/vignettes/getting-started.Rmd @@ -31,9 +31,10 @@ Check out `?anndataR` for a full list of the functions provided by this package. Install using: ```{r, eval = FALSE} -if (!require("BiocManager", quietly = TRUE)) +if (!require("BiocManager", quietly = TRUE)) { install.packages("BiocManager") - +} + BiocManager::install("BiocStyle") ```