plotGridSearchPerplexitycelda_C {celda} | R Documentation

## Plot perplexity as a function of K from celda_C models

### Description

Plots perplexity as a function of the cell (K) clusters as generated by celdaGridSearch().

### Usage

    plotGridSearchPerplexitycelda_C(celdaList, sep)

### Arguments

`celdaList` | Object of class 'celdaList'.
`sep` | Numeric. Breaks in the x axis of the resulting plot.

### Value

A ggplot plot object showing perplexity as a function of clustering parameters.

### Examples

    data(celdaCGSim, celdaCGGridSearchRes)
    celdaCGGridSearchRes <- resamplePerplexity(
      celdaCGSim$counts,
      celdaCGGridSearchRes
    )
    plotGridSearchPerplexity(celdaCGGridSearchRes)

[Package celda version 1.0.4 Index]