bullseye_plot: Outputs a circular bullseye plot for a gene pair. The central...

View source: R/CrossExpression.R

bullseye_plotR Documentation

Outputs a circular bullseye plot for a gene pair. The central circle is gene B in cells expressing gene A. Rings indicate neighbors with gene B, where the first ring is the first neighbor.

Description

Outputs a circular bullseye plot for a gene pair. The central circle is gene B in cells expressing gene A. Rings indicate neighbors with gene B, where the first ring is the first neighbor.

Usage

bullseye_plot(scores)

Arguments

scores

Bullseye score as a vector.

Value

Returns a circular bullseye plot.

Examples

data("locations")
data("expression")
locations  = as.matrix(locations)
expression = as.matrix(expression)
expression = expression[,1:5]
results    = bullseye_scores(data = expression, locations = locations)
results    = as.numeric(results[1, 3:ncol(results)]) # choose gene pair of interest (row index)
bullseye_plot(results)


CrossExpression documentation built on Aug. 8, 2025, 7:25 p.m.