plot_gene_haystack.Rd
Visualizing the detection/expression of a gene in a 2D plot
plot_gene_haystack(x, ...)
# S3 method for matrix
plot_gene_haystack(x, dim1 = 1, dim2 = 2, ...)
# S3 method for data.frame
plot_gene_haystack(x, dim1 = 1, dim2 = 2, ...)
# S3 method for SingleCellExperiment
plot_gene_haystack(
x,
dim1 = 1,
dim2 = 2,
assay = "counts",
coord = "TSNE",
...
)
# S3 method for Seurat
plot_gene_haystack(
x,
dim1 = 1,
dim2 = 2,
assay = "RNA",
slot = "data",
coord = "tsne",
...
)
a matrix or other object from which coordinates of cells can be extracted.
further parameters passed to plot_gene_haystack_raw().
column index or name of matrix for x-axis coordinates.
column index or name of matrix for y-axis coordinates.
name of assay data for Seurat method.
name of coordinates slot for specific methods.
name of slot for assay data for Seurat method.