nice_feature_plot_old: nice_feature_plot_old

View source: R/nice_feature_plot_old.R

nice_feature_plot_oldR Documentation

nice_feature_plot_old

Description

nicer looking version of the Seurat function FeaturePlot.

Usage

nice_feature_plot_old(
  seurat_obj,
  features,
  pt.size = 1.3,
  n_col = NULL,
  reduction = "umap",
  dims_plot = 1:2,
  diverging_cmap = F,
  scale_data = F,
  cutoffs = NA,
  order = T
)

Arguments

seurat_obj

Seurat object.

features

genes to plot.

pt.size

size of plotted points.

n_col

if plotting multiple genes, number of columns in final plot_grid object.

reduction

one of "umap" or "pca".

dims_plot

number of dimensions to plot.

diverging_cmap

if T, will fill points with diverging colours between blue and red. otherwise, will use a linear colourmap.

scale_data

plot Z-scored data?

cutoffs

expression level cutoffs for plotting.

order

plot cells in order of expression?

Value

UMAP or PCA plot.


mvhunter1/mvhfunctions documentation built on May 31, 2024, 3:36 p.m.