plotMASTThresholdGenes {singleCellTK}R Documentation

MAST Identify adaptive thresholds

Description

Calculate and produce a list of thresholded counts (on natural scale), thresholds, bins, densities estimated on each bin, and the original data from thresholdSCRNACountMatrix

Usage

plotMASTThresholdGenes(
  inSCE,
  useAssay = "logcounts",
  isLogged = TRUE,
  check_sanity = TRUE
)

Arguments

inSCE

SingleCellExperiment object

useAssay

character, default "logcounts"

isLogged

Logical scalar. Whether the assay used for the analysis is logged. If not, will do a log(assay + 1) transformation. Default TRUE.

check_sanity

Logical scalar. Whether to perform MAST's sanity check to see if the counts are logged. Default TRUE

Value

Plot the thresholding onto the plotting region.

Examples

data("mouseBrainSubsetSCE")
plotMASTThresholdGenes(mouseBrainSubsetSCE)

[Package singleCellTK version 2.0.0 Index]