Skip to content

Commit

Permalink
Resolve #204
Browse files Browse the repository at this point in the history
  • Loading branch information
alanocallaghan committed Jan 28, 2024
1 parent 9c94e66 commit fc2e48e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Authors@R: c(
person("Leo", "Lahti", role=c("ctb"), email="[email protected]",
comment = c(ORCID = "0000-0001-5537-637X"))
)
Version: 1.31.1
Date: 2023-11-16
Version: 1.31.2
Date: 2024-01-28
License: GPL-3
Title: Single-Cell Analysis Toolkit for Gene Expression Data in R
Description: A collection of tools for doing various analyses of
Expand Down
24 changes: 12 additions & 12 deletions R/plot_reddim.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,43 +66,43 @@
#' plotMDS(example_sce)
#'
#' @export
plotPCASCE <- function(object, ..., ncomponents=2) {
plotReducedDim(object, ncomponents = ncomponents, dimred = "PCA", ...)
plotPCASCE <- function(object, ..., ncomponents=2, dimred = "PCA") {
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
}

#' @rdname plot_reddim
#' @aliases plotTSNE
#' @export
plotTSNE <- function(object, ..., ncomponents=2) {
plotReducedDim(object, ncomponents = ncomponents, dimred = "TSNE", ...)
plotTSNE <- function(object, ..., ncomponents=2, dimred = "TSNE") {
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
}

#' @rdname plot_reddim
#' @aliases plotUMAP
#' @export
plotUMAP <- function(object, ..., ncomponents=2) {
plotReducedDim(object, ncomponents = ncomponents, dimred = "UMAP", ...)
plotUMAP <- function(object, ..., ncomponents=2, dimred = "UMAP") {
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
}

#' @rdname plot_reddim
#' @aliases plotDiffusionMap
#' @export
plotDiffusionMap <- function(object, ..., ncomponents=2) {
plotReducedDim(object, ncomponents = ncomponents, dimred = "DiffusionMap", ...)
plotDiffusionMap <- function(object, ..., ncomponents=2, dimred = "DiffusionMap") {
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
}

#' @rdname plot_reddim
#' @aliases plotMDS
#' @export
plotMDS <- function(object, ..., ncomponents=2) {
plotReducedDim(object, ncomponents = ncomponents, dimred = "MDS", ...)
plotMDS <- function(object, ..., ncomponents=2, dimred = "MDS") {
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
}

#' @rdname plot_reddim
#' @aliases plotNMF
#' @export
plotNMF <- function(object, ..., ncomponents=2) {
plotReducedDim(object, ncomponents = ncomponents, dimred = "NMF", ...)
plotNMF <- function(object, ..., ncomponents=2, dimred = "NMF") {
plotReducedDim(object, ncomponents = ncomponents, dimred = dimred, ...)
}

#' @rdname plot_reddim
Expand Down

0 comments on commit fc2e48e

Please sign in to comment.