DimPlotFacet: Splits scatter plots into multiple facets

Description Usage Arguments Value

View source: R/visualisation.R

Description

The default DimPlot function is not particularly functional once it is required to plot more than three groups. Thus this allows for new facets to be viewed on new lines rather than all in one row.

Usage

1
2
DimPlotFacet(seurat_object, dimplot_object, split.by = NULL,
  scales = "free", axis.text.size = 14)

Arguments

seurat_object

A Seurat S4 object.

dimplot_object

Object created from DimPlot() function.

split.by

Factor to split the graph by.

scales

If all the scales of each plot should be the same. Should scales be free ("free", the default), fixed ("fixed"), or free in one dimension ("free_x", "free_y").

axis.text.size

Size of axis text.

Value

A ggplot object


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.