plot_intra_correlation_scExp: Violin plot of intra-correlation distribution

View source: R/plotting_functions.R

plot_intra_correlation_scExpR Documentation

Violin plot of intra-correlation distribution

Description

Violin plot of intra-correlation distribution

Usage

plot_intra_correlation_scExp(
  scExp_cf,
  by = c("sample_id", "cell_cluster")[1],
  jitter_by = NULL,
  downsample = 5000
)

Arguments

scExp_cf

A SingleCellExperiment

by

Color by sample_id or cell_cluster

jitter_by

Add jitter points of another layer (cell_cluster or sample_id)

downsample

Downsample for plotting

Value

A violin plot of intra-correlation

Examples

data(scExp)
plot_intra_correlation_scExp(scExp)

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