Skip to content

Commit 8e69dc8

Browse files
committed
Solve warnings
1 parent 6cf0f7d commit 8e69dc8

File tree

5 files changed

+39
-34
lines changed

5 files changed

+39
-34
lines changed

NAMESPACE

-3
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ export(compute_wcss)
66
export(mini_batch)
77
export(predict_mini_batch)
88
export(predict_mini_batch_r)
9-
exportClasses(MbkmeansParam)
109
exportMethods(mbkmeans)
1110
import(ClusterR)
12-
import(methods)
1311
importClassesFrom(DelayedArray,DelayedMatrix)
1412
importClassesFrom(SingleCellExperiment,LinearEmbeddingMatrix)
1513
importClassesFrom(SingleCellExperiment,SingleCellExperiment)
1614
importClassesFrom(SummarizedExperiment,SummarizedExperiment)
17-
importClassesFrom(bluster,KmeansParam)
1815
importFrom(BiocParallel,SerialParam)
1916
importFrom(DelayedArray,blockApply)
2017
importFrom(DelayedArray,colAutoGrid)

R/AllClasses.R

-5
This file was deleted.

R/MbkmeansParam.R

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
#' Mini-batch k-means clustering
22
#'
33
#' Run the mini-batch k-means \code{\link{mbkmeans}} function with the specified
4-
#' number of centers within \code{\link{clusterRows}} from the
5-
#' \code{\link{bluster}} Bioconductor package.
4+
#' number of centers within \code{\link[bluster]{clusterRows}} from the
5+
#' \code{bluster} Bioconductor package.
66
#'
7-
#' This function is deprecated. Please use the \code{MbkmeansParam} function in
8-
#' the \code{\link{bluster}} Bioconductor package.
9-
#' @name MbkmeansParam-class
7+
#' This function is deprecated. Please use the \code{\link[bluster]{MbkmeansParam} function in
8+
#' the \code{bluster} Bioconductor package.
9+
#'
10+
#' @param centers An integer scalar specifying the number of centers.
11+
#' Alternatively, a function that takes the number of observations and returns the number of centers.
12+
#' Note, the \code{\link{mbkmeans}} function uses the argument \code{clusters} argument to represent this argument.
13+
#' However, we use \code{centers} to match
14+
#' @param ... Further arguments to pass to \code{\link{mbkmeans}}.
15+
#'
16+
#' @name MbkmeansParam
1017
#' @docType class
1118
#' @aliases
1219
#' show,MbkmeansParam-method
1320
NULL
1421

1522
#' @export
16-
#' @rdname MbkmeansParam-class
23+
#' @rdname MbkmeansParam
1724
MbkmeansParam <- function(centers, ...) {
1825
.Deprecated("bluster::MbkmeansParam")
1926
bluster::MbkmeansParam(centers, ...)

man/MbkmeansParam-class.Rd

-20
This file was deleted.

man/MbkmeansParam.Rd

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)