bfecf1eb |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dropletUtils_barcodeRank.R
\name{runBarcodeRankDrops}
\alias{runBarcodeRankDrops}
\title{Identify empty droplets using \link[DropletUtils]{barcodeRanks}.}
\usage{
|
55429919 |
runBarcodeRankDrops(
inSCE,
sample = NULL,
useAssay = "counts",
lower = 100,
|
95793b91 |
fitBounds = NULL,
|
55429919 |
df = 20
)
|
bfecf1eb |
}
\arguments{
|
229625bd |
\item{inSCE}{A \linkS4class{SingleCellExperiment} object. Must contain a raw
counts matrix before empty droplets have been removed.}
|
bfecf1eb |
|
229625bd |
\item{sample}{Character vector or colData variable name. Indicates which
sample each cell belongs to. Default \code{NULL}.}
|
bfecf1eb |
|
229625bd |
\item{useAssay}{A string specifying which assay in the SCE to use. Default
\code{"counts"}}
|
bfecf1eb |
|
229625bd |
\item{lower}{See \link[DropletUtils]{barcodeRanks} for more information.
Default \code{100}.}
|
95793b91 |
|
229625bd |
\item{fitBounds}{See \link[DropletUtils]{barcodeRanks} for more information.
Default \code{NULL}.}
|
95793b91 |
|
229625bd |
\item{df}{See \link[DropletUtils]{barcodeRanks} for more information. Default
\code{20}.}
|
bfecf1eb |
}
\value{
|
229625bd |
A \linkS4class{SingleCellExperiment} object with the
\link[DropletUtils]{barcodeRanks} output table appended to the
\link{colData} slot. The columns include
\code{dropletUtils_BarcodeRank_Knee} and
\code{dropletUtils_barcodeRank_inflection}. Please refer to the documentation
of \link[DropletUtils]{barcodeRanks} for details.
|
bfecf1eb |
}
\description{
Run \link[DropletUtils]{barcodeRanks} on a count matrix
|
229625bd |
provided in a \linkS4class{SingleCellExperiment} object. Distinguish between
droplets containing cells and ambient RNA in a droplet-based single-cell RNA
sequencing experiment.
|
bfecf1eb |
}
\examples{
|
42b943b7 |
data(scExample, package = "singleCellTK")
sce <- runBarcodeRankDrops(inSCE = sce)
|
bfecf1eb |
}
|
229625bd |
\seealso{
\code{\link[DropletUtils]{barcodeRanks}},
\code{\link{runDropletQC}}, \code{\link{plotBarcodeRankDropsResults}}
}
|