Skip to content

Commit

Permalink
Updated splitModule parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-d-campbell committed Feb 17, 2023
1 parent a32b22a commit 294c5db
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LinkingTo: Rcpp, RcppEigen
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
BugReports: https://github.com/campbio/celda/issues
biocViews: SingleCell, GeneExpression, Clustering, Sequencing, Bayesian, ImmunoOncology, DataImport
NeedsCompilation: yes
10 changes: 5 additions & 5 deletions R/splitModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#' @param x A \linkS4class{SingleCellExperiment} object
#' with the matrix located in the assay slot under \code{useAssay}.
#' Rows represent features and columns represent cells.
#' @param module Integer. The module to be split.
#' @param useAssay A string specifying which \link{assay}
#' slot to use for \code{x}. Default "counts".
#' @param altExpName The name for the \link{altExp} slot
#' to use. Default "featureSubset".
#' @param module Integer. The module to be split.
#' to use. Default \code{"featureSubset"}.
#' @param n Integer. How many modules should \code{module} be split into.
#' Default 2.
#' Default \code{2}.
#' @param seed Integer. Passed to \link[withr]{with_seed}. For reproducibility,
#' a default value of 12345 is used. If NULL, no calls to
#' \link[withr]{with_seed} are made.
Expand All @@ -21,9 +21,9 @@
#' @export
setGeneric("splitModule",
function(x,
module,
useAssay = "counts",
altExpName = "featureSubset",
module,
n = 2,
seed = 12345) {

Expand All @@ -39,9 +39,9 @@ setGeneric("splitModule",
#' @export
setMethod("splitModule", signature(x = "SingleCellExperiment"),
function(x,
module,
useAssay = "counts",
altExpName = "featureSubset",
module,
n = 2,
seed = 12345) {

Expand Down
12 changes: 6 additions & 6 deletions man/splitModule.Rd

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

0 comments on commit 294c5db

Please sign in to comment.