View source: R/Seurat.Utils.Visualization.R
suPlotVariableFeatures | R Documentation |
Generates a Variable Feature Plot for a specified Seurat object, labels points with the top 20 variable genes, and saves the plot to a PDF file.
suPlotVariableFeatures(
obj = combined.obj,
NrVarGenes = 15,
repel = TRUE,
plotWidth = 7,
plotHeight = 5,
save = TRUE,
assay = DefaultAssay(obj),
suffix = NULL,
...
)
obj |
A single Seurat object. |
NrVarGenes |
A vector containing the top 20 variable genes for the Seurat object. |
repel |
A logical value indicating whether to repel the labels to avoid overlap. Default: |
plotWidth |
Numeric value specifying the width of the plot when saved. Default: 7. |
plotHeight |
Numeric value specifying the height of the plot when saved. Default: 5. |
save |
A logical value indicating whether to save the plot to a PDF file. Default: |
assay |
The assay to use for the plot. Default: DefaultAssay(obj). |
suffix |
A string suffix to append to the plot filename. Default: NULL. |
... |
Additional arguments to pass to the Seurat::VariableFeaturePlot function. |
## Not run:
suPlotVariableFeatures(combined.obj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.