plot_violin_feature_scExp: Violin plot of features

View source: R/plotting_functions.R

plot_violin_feature_scExpR Documentation

Violin plot of features

Description

Violin plot of features

Usage

plot_violin_feature_scExp(
  scExp,
  gene,
  by = c("cell_cluster", "sample_id")[1],
  downsample = 5000,
  max_distanceToTSS = 1000
)

Arguments

scExp

A SingleCellExperiment

gene

A character specifying the gene to plot

by

Color violin by cell_cluster or sample_id ("cell_cluster")

downsample

Downsample for plotting (5000)

max_distanceToTSS

Numeric. Maximum distance to a gene's TSS to consider a region linked to a gene. (1000)

Value

A violin plot of intra-correlation

Examples

data(scExp)
plot_violin_feature_scExp(scExp, "UBXN10")


vallotlab/ChromSCape documentation built on Oct. 15, 2023, 1:47 p.m.