Learn R Programming

MAST (version 0.931)

plot.thresholdSCRNACountMatrix: Plot cutpoints and densities for thresholding

Description

Plot cutpoints and densities for thresholding

Usage

# S3 method for thresholdSCRNACountMatrix
plot(x, ask = FALSE, wait.time = 0,
  type = "bin", indices = NULL, ...)

Arguments

x

output of thresholdSCRNACountMatrix

ask

if TRUE then will prompt before displaying each plot

wait.time

pause (in seconds) between each plot

type

one or more of the following: 'bin' (plot the genes by the binning used for thresholding), or 'gene' (plot thresholding by gene -- see next argument)

indices

if type is equal to 'gene', and is a integer of length 1, then a random sample of indices genes is taken. If it is NULL, then 10 genes are sampled. If it is a integer vector of length > 1, then it is interpreted as giving a list of indices of genes to be displayed.

...

further arguments passed to plot

Value

displays plots