r_feature_plot: Roberts lab Seurat::FeaturePlot default changes

View source: R/plotting.R

r_feature_plotR Documentation

Roberts lab Seurat::FeaturePlot default changes

Description

Roberts lab Seurat::FeaturePlot default changes

Usage

r_feature_plot(object, features, title = NULL, pt.size = 1, order = TRUE, ...)

Arguments

object

Seurat object

features

Vector of features to plot. Features can come from:

  • An Assay feature (e.g. a gene name - "MS4A1")

  • A column name from meta.data (e.g. mitochondrial percentage - "percent.mito")

  • A column name from a DimReduc object corresponding to the cell embedding values (e.g. the PC 1 scores - "PC_1")

title

Title to use for plot

pt.size

Adjust point size for plotting

order

Boolean determining whether to plot cells in order of expression. Can be useful if cells expressing given feature are getting buried.

...

Other arguments to pass to Seurat::FeaturePlot

Value

A patchworked ggplot object if combine = TRUE; otherwise, a list of ggplot objects

Examples

## Not run: 
Seurat::FeaturePlot(object = sobject)

## End(Not run)

kidcancerlab/rrrSingleCellUtils documentation built on April 17, 2025, 5:10 p.m.