File: clusterModularity.R

package info (click to toggle)
r-bioc-scran 1.18.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,856 kB
  • sloc: cpp: 960; sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#' Compute the cluster-wise modularity
#' 
#' Calculate the modularity of each cluster from a graph, based on a null model of random connections between nodes.
#' This function has been moved to the \pkg{bluster} package as \code{\link{pairwiseModularity}}.
#'
#' @param ... Arguments to pass to \code{\link{pairwiseModularity}}.
#' 
#' @return
#' See \code{?\link{pairwiseModularity}} for more details.
#'
#' @author
#' Aaron Lun
#' 
#' @seealso
#' \code{\link{pairwiseModularity}}, the new name for this function.
#' 
#' @export
#' @importFrom bluster pairwiseModularity
clusterModularity <- function(...) {
    .Deprecated(new="bluster::pairwiseModularity")
    pairwiseModularity(...)
}