View variable features

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

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

Value

A ggplot object

See also

Examples

data("pbmc_small") VariableFeaturePlot(object = pbmc_small)