Description Usage Arguments Value
Since ggplot2 does not support superimposing multiple
geom_point() with different color codes,
MultiFeaturePlot() bypasses the limitation by generating one
custom color scale integrating multiple expression data. To get legends for
that, individual geom_point() ggplots are generated here, and
extracted for later integration with the main plot.
1 | make_legend(featurekey, plotdf)
|
featurekey |
a character vector containing the features prefixed by keys (if using Seuratv3) to be plotted |
plotdf |
a data frame containing cell embedings, expression level, and
color codes genearted by |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.