Skip to content

Commit e0fb389

Browse files
committed
Cleaned up documentation for emptyDropsCellRanger.
1 parent 407cf2a commit e0fb389

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

R/emptyDropsCellRanger.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
#' \item The first subset contains barcodes that are selected by the \dQuote{simple filtering algorithm}, which are regarded as high quality cells without any further filtering.
3838
#' The minimum threshold \eqn{T} for this subset is defined by taking the \code{max.percentile} percentile of the top \code{n.expected.cells} barcodes,
3939
#' and then dividing by the \code{max.min.ratio} to obtain a minimum UMI count.
40-
#' All barcodes here will have an FDR of zero.
40+
#' (This is closely related to the algorithm used by \code{\link{defaultDrops}}.)
41+
#' All barcodes identified in this manner will have an FDR of zero.
4142
#' \item The second subset contains the ambient pool and is defined as all barcodes with rankings between \code{ind.min} and \code{ind.max}.
4243
#' The barcodes that fall in this category will be used to compute the ambient profile.
4344
#' None of these barcodes are considered to be potential cells.
@@ -51,10 +52,11 @@
5152
#'
5253
#' The main differences between \code{emptyDropsCellRanger} and \code{emptyDrops} are:
5354
#' \itemize{
54-
#' \item \code{emptyDropsCellRanger} applies a simple filtering strategy to identify some real cells before any further investigation.
55+
#' \item \code{emptyDropsCellRanger} does not use the knee point to identify \dQuote{presumed real} cells,
56+
#' instead relying on a threshold based on the expected number of cells.
5557
#' \item \code{emptyDropsCellRanger} takes barcodes whose total count ranks within a certain range - by default, \eqn{(45,000, 90,000]} - to compute the ambient profile.
5658
#' In contrast, \code{emptyDrops} only defines the upper bound using \code{lower} or \code{by.rank}.
57-
#' \item \code{emptyDropsCellRanger} defines a cell candidate pool according to three parameters, \code{umi.min},\code{umi.min.frac.median} and \code{cand.max.n}.
59+
#' \item \code{emptyDropsCellRanger} defines a cell candidate pool according to three parameters, \code{umi.min}, \code{umi.min.frac.median} and \code{cand.max.n}.
5860
#' In \code{emptyDrops}, this is only defined by \code{lower}.
5961
#' }
6062
#'

man/emptyDropsCellRanger.Rd

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)