Learn R Programming

Seurat (version 4.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
)

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

FindVariableFeatures

Examples

Run this code
# NOT RUN {
data("pbmc_small")
VariableFeaturePlot(object = pbmc_small)

# }

Run the code above in your browser using DataLab