dot-arrayPlot: Array pie plot

Description Usage Arguments Value

Description

Array pie plot

Usage

1
2
3
.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.


SpatialCPie documentation built on Nov. 8, 2020, 7:43 p.m.