Skip to content

Commit e0519b7

Browse files
committed
documentation
1 parent 009d065 commit e0519b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/rnaseq.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ best.cluster <- function(clusters.df, features = c('Rank1Residuals', 'size'), we
419419
#' normalize a read count matrix given the set of reference genes identified by id
420420
#' @param X a read-count matrix of the form samples x genes(transcripts)
421421
#' @param ref.idx an integer vector specifying the column indices of X to be used as reference
422+
#' @param scale (default to TRUE) whether to scale the normalizing factors such that their geometric mean is 1
422423
#' @export
423424
normalize.by.refs <- function(X, ref.idx, scale = TRUE) {
424425
if (length(ref.idx) == 1) { # need to be treated specially since dim(X) reduces to NULL and cause error in apply

0 commit comments

Comments
 (0)