man/plotMASTThresholdGenes.Rd
c7edcb60
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/plotDEAnalysis.R
 \name{plotMASTThresholdGenes}
 \alias{plotMASTThresholdGenes}
 \title{MAST Identify adaptive thresholds}
 \usage{
cea7aaa7
 plotMASTThresholdGenes(
   inSCE,
   useAssay = "logcounts",
51b2a1d6
   doPlot = TRUE,
cea7aaa7
   isLogged = TRUE,
   check_sanity = TRUE
 )
c7edcb60
 }
 \arguments{
 \item{inSCE}{SingleCellExperiment object}
 
 \item{useAssay}{character, default \code{"logcounts"}}
 
51b2a1d6
 \item{doPlot}{Logical scalar. Whether to directly plot in the plotting area.
 If \code{FALSE}, will return a graphical object which can be visualized with
 \code{grid.draw()}. Default \code{TRUE}.}
 
cea7aaa7
 \item{isLogged}{Logical scalar. Whether the assay used for the analysis is
 logged. If not, will do a \code{log(assay + 1)} transformation. Default
 \code{TRUE}.}
 
c7edcb60
 \item{check_sanity}{Logical scalar. Whether to perform MAST's sanity check
 to see if the counts are logged. Default \code{TRUE}}
 }
 \value{
51b2a1d6
 Plot the thresholding onto the plotting region if \code{plot == TRUE}
 or a graphical object if \code{plot == FALSE}.
c7edcb60
 }
 \description{
 Calculate and produce a list of thresholded counts (on natural scale),
 thresholds, bins, densities estimated on each bin, and the original data from
 \code{\link[MAST]{thresholdSCRNACountMatrix}}
 }
 \examples{
 data("mouseBrainSubsetSCE")
6bb79633
 plotMASTThresholdGenes(mouseBrainSubsetSCE)
c7edcb60
 }