plotVisiumHex: Plot Visium as honeycombs

View source: R/visium.graphics.R View source: R/.ipynb_checkpoints/visium.utilities-checkpoint.R

plotVisiumHexR Documentation

Plot Visium as honeycombs

Description

Normally this function shouldn't be called directly. Use plotVisium instead

Usage

plotVisiumHex(
  xy,
  cex = 1,
  col = "red",
  border = col,
  xlab = "Cols",
  ylab = "Rows",
  xlim = NULL,
  ylim = NULL,
  hexstep = 0.25,
  transpose = FALSE,
  ...
)

Arguments

xy

seu@images[.]@coordinates

cex

spot size

col

spot color

border

color of spot border (by default)

xlim, ylim, xlab, ylab

parameters of plot function

hexstep

size of spot hex, do not change unless you know what you are doing

transpose

logical, whether to transpose the figure

...

other parameters to be passed to plot function

Value

data.frame with spot coordinates


iaaka/visutils documentation built on Jan. 17, 2025, 11:29 p.m.