Description Usage Arguments Value
This function creates dimensionality reduction plots that show the expression
of pairs of NMF modules and the cells that are selected as doublets, given the
chosen set of parameters. It can used to inspect how cells are chosen and refine
thresholds to ensure that pairs of modules are not being chosen that might remove
legitimate transitions from the data. It produces a plot that shows the expression
of each pair of modules (one in red, one in green, overlap in yellow) and a second
plot that highlights which cells would be chosen as doublets, given the current
parameters. A series of these plots (chosen by boundary
, sort
, and
n.plots
parameters) are saved for further inspection.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
object |
An URD object |
path |
(Character) Path to a directory to save plots |
module.combos |
(List) Output from |
module.expressed.thresh |
(Numeric) Threshold for calling a cell as an expresser of a module |
frac.overlap.max |
(Numeric) Threshold to determine which NMF module pairs to use for doublet detecction – only pairs of NMF modules where the maximum portion of cells that express both is less than |
frac.overlap.diff.max |
(Numeric) Threshold to determine which NMF module pairs to use for doublet detecction – only pairs of NMF modules where the portion of co-expressing cells increases less than |
boundary |
(Character) Should plots be made for module combinations that |
sort |
(Character) Should plots be for those module combinations |
only.combos.with.doublets |
(Logical) Should plots be limited to those module combinations that identify doublet cells? |
n.plots |
(Numeric) What is the maximum number of plots that should be generated? |
width |
(Numeric) Width of each plot (in pixels) |
height |
(Numeric) Height of each plot (in pixels) |
... |
Additional parameters to pass to |
Nothing. A series of plots are generated using ggplot2 and saved to the directory specified in path
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.