makeViolin {airpart}R 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)

[Package airpart version 1.1.5 Index]