Skip to content

Commit

Permalink
add description to sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman committed Dec 20, 2024
1 parent 42ede0f commit c61fbe0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
18 changes: 12 additions & 6 deletions R/sweep-clusters.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
#' Calculate clusters across a set of parameters
#'
#' This function can be used to perform reproducible clustering while varying a set of parameters.
#' @description This function can be used to perform reproducible clustering while varying a set of parameters.
#' Multiple values can be provided for any of:
#' - The algorithm (`algorithm`)
#' - The weighting scheme (`weighting`)
#' - Number of nearest neighbors (`nn`)
#' - The resolution parameter (`resolution`)
#' - The objective function parameter (`objective_function`)
#'
#' - The algorithm (`algorithm`)
#'
#' - The weighting scheme (`weighting`)
#'
#' - Number of nearest neighbors (`nn`)
#'
#' - The resolution parameter (`resolution`)
#'
#' - The objective function parameter (`objective_function`).
#'
#' For each algorithm specified, all parameters possible to use with that
#' algorithm will be systematically varied. This function does not accept additional
#' parameters besides those listed above.
#'
#' Note that defaults for some arguments may differ from the `bluster::NNGraphParam()` defaults.
#' Specifically, the clustering algorithm defaults to "louvain" and the weighting scheme to "jaccard"
#' to align with common practice in scRNA-seq analysis.
Expand Down
19 changes: 12 additions & 7 deletions man/sweep_clusters.Rd

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

0 comments on commit c61fbe0

Please sign in to comment.