View source: R/ggPerQCWrapper.R
plotEmptyDropsResults | R Documentation |
A wrapper function which visualizes outputs from the
runEmptyDrops
function stored in the colData
slot of the
SingleCellExperiment object.
plotEmptyDropsResults(
inSCE,
sample = NULL,
combinePlot = "all",
fdrCutoff = 0.01,
defaultTheme = TRUE,
dotSize = 0.5,
titleSize = 18,
axisLabelSize = 18,
axisSize = 15,
legendSize = 15,
legendTitleSize = 16,
relHeights = 1,
relWidths = 1,
samplePerColumn = TRUE,
sampleRelHeights = 1,
sampleRelWidths = 1
)
inSCE |
Input SingleCellExperiment object with saved
dimension reduction components or a variable with saved results from
|
sample |
Character vector or colData variable name. Indicates which
sample each cell belongs to. Default |
combinePlot |
Must be either |
fdrCutoff |
Numeric. Thresholds barcodes based on the FDR values from
|
defaultTheme |
Removes grid in plot and sets axis title size to
|
dotSize |
Size of dots. Default |
titleSize |
Size of title of plot. Default |
axisLabelSize |
Size of x/y-axis labels. Default |
axisSize |
Size of x/y-axis ticks. Default |
legendSize |
size of legend. Default |
legendTitleSize |
size of legend title. Default |
relHeights |
Relative heights of plots when combine is set. Default
|
relWidths |
Relative widths of plots when combine is set. Default
|
samplePerColumn |
If |
sampleRelHeights |
If there are multiple samples and combining by
|
sampleRelWidths |
If there are multiple samples and combining by
|
list of .ggplot objects
runEmptyDrops
, plotEmptyDropsScatter
data(scExample, package = "singleCellTK")
sce <- runEmptyDrops(inSCE = sce)
plotEmptyDropsResults(inSCE = sce)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.