Skip to content

Commit fc2e48e

Browse files
Resolve #204
1 parent 9c94e66 commit fc2e48e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Authors@R: c(
1212
person("Leo", "Lahti", role=c("ctb"), email="leo.lahti@utu.fi",
1313
comment = c(ORCID = "0000-0001-5537-637X"))
1414
)
15-
Version: 1.31.1
16-
Date: 2023-11-16
15+
Version: 1.31.2
16+
Date: 2024-01-28
1717
License: GPL-3
1818
Title: Single-Cell Analysis Toolkit for Gene Expression Data in R
1919
Description: A collection of tools for doing various analyses of

R/plot_reddim.R

+12-12
Original file line numberDiff line numberDiff line change
@@ -66,43 +66,43 @@
6666
#' plotMDS(example_sce)
6767
#'
6868
#' @export
69-
plotPCASCE <- function(object, ..., ncomponents=2) {
70-
plotReducedDim(object, ncomponents = ncomponents, dimred = "PCA", ...)
69+
plotPCASCE <- function(object, ..., ncomponents=2, dimred = "PCA") {
70+
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
7171
}
7272

7373
#' @rdname plot_reddim
7474
#' @aliases plotTSNE
7575
#' @export
76-
plotTSNE <- function(object, ..., ncomponents=2) {
77-
plotReducedDim(object, ncomponents = ncomponents, dimred = "TSNE", ...)
76+
plotTSNE <- function(object, ..., ncomponents=2, dimred = "TSNE") {
77+
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
7878
}
7979

8080
#' @rdname plot_reddim
8181
#' @aliases plotUMAP
8282
#' @export
83-
plotUMAP <- function(object, ..., ncomponents=2) {
84-
plotReducedDim(object, ncomponents = ncomponents, dimred = "UMAP", ...)
83+
plotUMAP <- function(object, ..., ncomponents=2, dimred = "UMAP") {
84+
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
8585
}
8686

8787
#' @rdname plot_reddim
8888
#' @aliases plotDiffusionMap
8989
#' @export
90-
plotDiffusionMap <- function(object, ..., ncomponents=2) {
91-
plotReducedDim(object, ncomponents = ncomponents, dimred = "DiffusionMap", ...)
90+
plotDiffusionMap <- function(object, ..., ncomponents=2, dimred = "DiffusionMap") {
91+
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
9292
}
9393

9494
#' @rdname plot_reddim
9595
#' @aliases plotMDS
9696
#' @export
97-
plotMDS <- function(object, ..., ncomponents=2) {
98-
plotReducedDim(object, ncomponents = ncomponents, dimred = "MDS", ...)
97+
plotMDS <- function(object, ..., ncomponents=2, dimred = "MDS") {
98+
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
9999
}
100100

101101
#' @rdname plot_reddim
102102
#' @aliases plotNMF
103103
#' @export
104-
plotNMF <- function(object, ..., ncomponents=2) {
105-
plotReducedDim(object, ncomponents = ncomponents, dimred = "NMF", ...)
104+
plotNMF <- function(object, ..., ncomponents=2, dimred = "NMF") {
105+
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
106106
}
107107

108108
#' @rdname plot_reddim

0 commit comments

Comments
 (0)