View source: R/CrossExpression.R
bullseye_plot | R 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.
bullseye_plot(scores)
scores |
Bullseye score as a vector. |
Returns a circular bullseye plot.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.