plotEmptyDropsScatter | R Documentation |
A plotting function which visualizes outputs from the
runEmptyDrops
function stored in the colData slot of the
SingleCellExperiment object via scatter plots.
plotEmptyDropsScatter(
inSCE,
sample = NULL,
fdrCutoff = 0.01,
defaultTheme = TRUE,
dotSize = 0.1,
title = NULL,
titleSize = 18,
xlab = NULL,
ylab = NULL,
axisSize = 12,
axisLabelSize = 15,
legendTitle = NULL,
legendTitleSize = 12,
legendSize = 10,
combinePlot = "none",
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 |
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 |
title |
Title of plot. Default |
titleSize |
Size of title of plot. Default |
xlab |
Character vector. Label for x-axis. Default |
ylab |
Character vector. Label for y-axis. Default |
axisSize |
Size of x/y-axis ticks. Default |
axisLabelSize |
Size of x/y-axis labels. Default |
legendTitle |
Title of legend. Default |
legendTitleSize |
size of legend title. Default |
legendSize |
size of legend. Default |
combinePlot |
Must be either |
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
|
a ggplot object of the scatter plot.
runEmptyDrops
, plotEmptyDropsResults
data(scExample, package = "singleCellTK")
sce <- runEmptyDrops(inSCE = sce)
plotEmptyDropsScatter(inSCE = sce)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.