Skip to content

Commit

Permalink
deprecated args
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyarajeshrao committed Nov 19, 2024
1 parent 2b12ae4 commit 9454252
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
14 changes: 12 additions & 2 deletions R/spicy.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
#' @param edgeCorrect A logical indicating whether to perform edge correction.
#' @param includeZeroCells A logical indicating whether to include cells with zero counts in the pairwise association calculation.
#' @param verbose logical indicating whether to output messages.
#' @param BPPARAM \{DEPRECATED\} A BiocParallel MulticoreParam or SerialParam object.
#' @param imageIDCol \{DEPRECATED\} The name of the imageID column if using a SingleCellExperiment or SpatialExperiment.
#' @param cellTypeCol \{DEPRECATED\} The name of the cellType column if using a SingleCellExperiment or SpatialExperiment.
#' @param spatialCoordCols \{DEPRECATED\} The names of the spatialCoords column if using a SingleCellExperiment.
#' @param nCores \{DEPRECATED\} Number of cores to use for parallel processing or a BiocParallel MulticoreParam or SerialParam object.
#' @param ... Other options
#' @return Data frame of p-values.
#' @export
Expand Down Expand Up @@ -80,12 +85,12 @@ spicy <- function(cells,
window.length = NULL,
edgeCorrect = TRUE,
includeZeroCells = FALSE,
verbose = FALSE,
BPPARAM = BiocParallel::SerialParam(),
imageIDCol = imageID,
cellTypeCol = cellType,
spatialCoordCols = spatialCoords,
nCores = cores,
verbose = FALSE,
...) {

user_args = as.list(match.call())[-1]
Expand Down Expand Up @@ -421,7 +426,12 @@ cleanMEM <- function(mixed.lmer, BPPARAM) {
#' @param window Should the window around the regions be 'square', 'convex' or 'concave'.
#' @param window.length A tuning parameter for controlling the level of concavity when estimating concave windows.
#' @param edgeCorrect A logical indicating whether to perform edge correction.
#' @param includeZeroCells A logical indicating whether to include cells with zero counts in the pairwise association
#' @param includeZeroCells A logical indicating whether to include cells with zero counts in the pairwise association.
#' @param BPPARAM \{DEPRECATED\} A BiocParallel MulticoreParam or SerialParam object.
#' @param imageIDCol \{DEPRECATED\} The name of the imageID column if using a SingleCellExperiment or SpatialExperiment.
#' @param cellTypeCol \{DEPRECATED\} The name of the cellType column if using a SingleCellExperiment or SpatialExperiment.
#' @param spatialCoordCols \{DEPRECATED\} The names of the spatialCoords column if using a SingleCellExperiment.
#' @param nCores \{DEPRECATED\} Number of cores to use for parallel processing or a BiocParallel MulticoreParam or SerialParam object.
#' calculation.
#' @return Statistic from pairwise L-curve of a single image.
#' @examples
Expand Down
12 changes: 11 additions & 1 deletion man/getPairwise.Rd

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

12 changes: 11 additions & 1 deletion man/spicy.Rd

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

0 comments on commit 9454252

Please sign in to comment.