makeViolin: Posterior mean allelic ratio estimates in violin plots

View source: R/makeViolin.R

makeViolinR Documentation

Posterior mean allelic ratio estimates in violin plots

Description

Posterior mean allelic ratio estimates in violin plots

Usage

makeViolin(sce, xlab = "cell type", ylim = c(0, 1))

Arguments

sce

SingleCellExperiment

xlab

the x axis name.

ylim

the y axis range

Value

a ggplot2 object, n represents number of cells in that cell type.

Examples


sce <- makeSimulatedData()
sce <- preprocess(sce)
sce <- geneCluster(sce, G = 1:4)
sce_sub <- wilcoxExt(sce, genecluster = 1)
sce_sub <- allelicRatio(sce_sub)
makeViolin(sce_sub)

Wancen/airpart documentation built on March 12, 2023, 11:53 a.m.