View source: R/HighlightGroupDimPlot.R
HighlightGroupDimPlot
1 2 3 4 5 6 7 8 9 | HighlightGroupDimPlot(object, ...)
## S3 method for class 'Seurat'
HighlightGroupDimPlot(object, reduction = "tsne",
grouping_var = NULL, highlight_group = NULL,
highlight_color = "#E41A1C", highlight_alpha = 1,
contrast_color = "#AAAAAA", contrast_alpha = 0.75, dim_1 = 1,
dim_2 = 2, pt_size = 1, force = 1, label = TRUE,
label_size = 3, label_text_color = "black", ...)
|
object |
scRNAseq data object |
... |
Additional parameters |
reduction |
dimensional reduction to use. Default: tsne |
grouping_var |
Metadata variable to use in grouping data. If none is provided, the current ident will be used. Default: NULL |
highlight_group |
Particular group to highlight. Default: NULL |
highlight_color |
Color to highlight chosen group with. Default: red |
highlight_alpha |
Highlight group point alpha. Default: 1 (i.e. fully opaque) |
contrast_color |
Color to use for all other groups. Default: grey |
contrast_alpha |
Contrast group point alpha. Default: 0.75 |
dim_1 |
Dimension to display along the x-axis. Default: 1 |
dim_2 |
Dimension to display along the y-axis. Default: 2 |
pt_size |
Point size. Default: 1 |
force |
Force parameter to pass to ggrepel. See |
label |
Should labels be shown? Default: TRUE |
label_size |
Label font size. Default: 3 |
label_text_color |
Label font color. Default: black |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.