plot_gene_haystack_raw.Rd
Visualizing the detection/expression of a gene in a 2D plot
plot_gene_haystack_raw(
x,
y,
gene,
expression,
detection = NULL,
high.resolution = FALSE,
point.size = 1,
order.by.signal = FALSE
)
x-axis coordinates of cells in a 2D representation (e.g. resulting from PCA or t-SNE)
y-axis coordinates of cells in a 2D representation
name of a gene that is present in the input expression data, or a numerical index
a logical/numerical matrix showing detection/expression of genes (rows) in cells (columns)
an optional logical matrix showing detection of genes (rows) in cells (columns). If left as NULL, the density distribution of the gene is not plotted.
logical (default: FALSE). If set to TRUE, the density plot will be of a higher resolution
numerical value to set size of points in plot. Default is 1.
If TRUE, cells with higher signal will be put on the foreground in the plot. Default is FALSE.
A plot