plotCellDensity: Plot density of cells in continuous covariate

Description Usage Arguments Value Author(s) Examples

Description

Uses kernel density estimate.

Usage

1

Arguments

objLP

(LineagePulseObject) LineagePulseObject to base plot on.

Value

gplotKDE (ggplot object) ggplot2 kernel density estimator plot.

Author(s)

David Sebastian Fischer

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
lsSimulatedData <- simulateContinuousDataSet(
    scaNCells = 100,
    scaNConst = 10,
    scaNLin = 10,
    scaNImp = 10,
    scaMumax = 100,
    scaSDMuAmplitude = 3,
    vecNormConstExternal=NULL,
    vecDispExternal=rep(20, 30),
    vecGeneWiseDropoutRates = rep(0.1, 30))
objLP <- runLineagePulse(
    counts = lsSimulatedData$counts,
    dfAnnotation = lsSimulatedData$annot,
    strMuModel = "impulse")
gplotCellDensity <- plotCellDensity(objLP = objLP)
#print(gplotCellDensity)

YosefLab/LineagePulse documentation built on May 6, 2019, 2:19 p.m.