Learn R Programming

Seurat (version 4.3.0.1)

VariableFeaturePlot: View variable features

Description

View variable features

Usage

VariableFeaturePlot(
  object,
  cols = c("black", "red"),
  pt.size = 1,
  log = NULL,
  selection.method = NULL,
  assay = NULL,
  raster = NULL,
  raster.dpi = c(512, 512)
)

Value

A ggplot object

Arguments

object

Seurat object

cols

Colors to specify non-variable/variable status

pt.size

Size of the points on the plot

log

Plot the x-axis in log scale

selection.method

Which method to pull. For HVFInfo and VariableFeatures, choose one from one of the following:

  • “vst”

  • “sctransform” or “sct”

  • “mean.var.plot”, “dispersion”, “mvp”, or “disp”

For SVFInfo and SpatiallyVariableFeatures, choose from:

  • “markvariogram”

  • “moransi”

assay

Assay to pull variable features from

raster

Convert points to raster format, default is NULL which will automatically use raster if the number of points plotted is greater than 100,000

raster.dpi

Pixel resolution for rasterized plots, passed to geom_scattermore(). Default is c(512, 512).

See Also

FindVariableFeatures

Examples

Run this code
data("pbmc_small")
VariableFeaturePlot(object = pbmc_small)

Run the code above in your browser using DataLab