plot.thresholdSCRNACountMatrix: Plot cutpoints and densities for thresholding

Description Usage Arguments Value Examples

View source: R/thresholdSCRNA.R

Description

Plot cutpoints and densities for thresholding

Usage

1
2
## S3 method for class '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

Examples

1
2
## See thresholdSCRNACountMatrix
example(thresholdSCRNACountMatrix)

MAST documentation built on Nov. 8, 2020, 8:19 p.m.