scPopulationPlot: scPopulationPlot

Description Usage Arguments Value Author(s)

View source: R/scPopulationPlot.R

Description

Population plot by clusters or samples

Usage

1
2
3
4
5
6
scPopulationPlot(
  object = NULL,
  by = c("sample", "cluster"),
  order = NULL,
  cols = NULL
)

Arguments

object

Seurat object

by

String used to separate cluster/sample, only 'cluster' or 'sample' is accepted

order

A vector to set the order of samples

cols

Vector of colors, each color corresponds to an identity class. Use ggplot2's default colors by default. We include a pallete called 'sc' which consists of 36 colors

Value

A dataframe that used to draw this plot

Author(s)

rstatistics


ncrna/SCKIT documentation built on Jan. 2, 2022, 10:59 a.m.