You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @description This function computes the correlation
@@ -13,6 +18,8 @@
13
18
#' @param cor.method (Optional) The correlation method to be used. Defaults to "spearman".
14
19
#' @param fdr.cutoff (Optional) The FDR threshold for determining statistical significance. Defaults to 0.01.
15
20
#' @param p.adj.method (Optional) The method used to adjust \emph{p}-values for multiple hypothesis testing. Defaults to "holm".
21
+
#' @param n.cores (Optional) The number of cores used when iterating over genes to perform testing. Defaults to 2.
22
+
#' @param verbose (Optional) Should a progress bar be printed to the console during processing? Defaults to TRUE.
16
23
#' @return Either a \code{Seurat} or \code{SingleCellExperiment} object if \code{expr.mat} is in either form, or a data.frame containing per-cell program scores if \code{expr.mat} is a matrix.
Copy file name to clipboardExpand all lines: R/geneProgramScoring.R
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
#' @param genes A character vector of gene IDs. Defaults to NULL.
9
9
#' @param gene.clusters A factor containing the cluster assignment of each gene in \code{genes}. Defaults to NULL.
10
10
#' @param program.labels (Optional) A character vector specifying a label for each gene cluster. Defaults to NULL.
11
+
#' @param minmax.norm (Optional) Should each program's score be min-max normalized to be on [0, 1]? Defaults to FALSE.
11
12
#' @param n.cores (Optional) The number of cores used under the hood in \code{\link[UCell]{ScoreSignatures_UCell}}. Defaults to 2.
12
13
#' @return Either a \code{Seurat} or \code{SingleCellExperiment} object if \code{expr.mat} is in either form, or a data.frame containing per-cell program scores if \code{expr.mat} is a matrix.
0 commit comments