Relative_gene_boxplot: Boxplot of relative abundance

View source: R/plot.R

Relative_gene_boxplotR Documentation

Boxplot of relative abundance

Description

Generate boxplot of cell type specific relative abundance for each subjects

Usage

Relative_gene_boxplot(
  sc.sce,
  gene.name,
  nu = 10^{
     -10
 },
  marker.id = NULL,
  log.trans = TRUE,
  select.ct = NULL,
  ...
)

Arguments

sc.sce

ExpressionSet for single cell data

gene.name

character, for gene name

nu

numeric regulator for log transformation

marker.id

numeric indicator of cell type marker genes. Order in the select cell types. Default is NULL. If NULL, do not print out the cell type.

log.trans

logical, default as TRUE. If FALSE, do not take log transformation of relative abundance.

select.ct

vector of characters. Default is NULL. If NULL use all cell types provided. Otherwise select cell types provided.

Value

a 'ggplot' object with [ggplot2::geom_boxplot]


xuranw/MuSiC documentation built on March 7, 2024, 11:45 a.m.