plot_scdata: Single cell visualization - merged and colored by biological...

Description Usage Arguments Value

View source: R/visualization.R

Description

Single cell visualization - merged and colored by biological sample

Usage

1
2
3
4
5
6
plot_scdata(
  dataset,
  color_by = "seurat_clusters",
  split_by = NA,
  pal_setup = "Set2"
)

Arguments

dataset

A Seurat object.

color_by

A string - by which metadata variable the colors will be applied.

split_by

A string - the splitting variable in the metadata.

pal_setup

A dataframe with 2 columns - the RColorBrewer palette setup to be used;

Or a character vector of RColorBrewer palettes. Multiple palettes can be specified, in case of many levels to be colored;

Or a character vector of colors.

Value

A plot.


xmc811/Scillus documentation built on April 26, 2021, 1:41 a.m.