.arrayPlot {SpatialCPie} | R Documentation

## Array pie plot

### Description

Array pie plot

### Usage

    .arrayPlot(scores, coordinates, counts = NULL, image = NULL,
      scoreMultiplier = 1, spotScale = 1, spotOpacity = 1,
      numTopGenes = 5)

### Arguments

`scores` | `data.frame` with cluster scores for each spot containing the columns `"spot"`, `"name"`, and `"score"`.
`coordinates` | `data.frame` with `rownames` matching those in `scores` and columns `"x"` and `"y"` specifying the plotting position of each observation.
`image` | a `grid.grob` to use as background to the plots.
`scoreMultiplier` | log multiplication factor applied to the score vector.
`spotScale` | pie chart size.
`spotOpacity` | pie chart opacity.

### Value

`ggplot` object of the pie plot.

[Package SpatialCPie version 1.3.4 Index]