plot_gene_haystack: Visualizing the detection/expression of a gene in a 2D plot

Description Usage Arguments

View source: R/s3.R

Description

Visualizing the detection/expression of a gene in a 2D plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
plot_gene_haystack(x, ...)

## S3 method for class 'matrix'
plot_gene_haystack(x, dim1 = 1, dim2 = 2, ...)

## S3 method for class 'data.frame'
plot_gene_haystack(x, dim1 = 1, dim2 = 2, ...)

## S3 method for class 'SingleCellExperiment'
plot_gene_haystack(
  x,
  dim1 = 1,
  dim2 = 2,
  assay = "counts",
  coord = "TSNE",
  ...
)

## S3 method for class 'Seurat'
plot_gene_haystack(
  x,
  dim1 = 1,
  dim2 = 2,
  assay = "RNA",
  slot = "data",
  coord = "tsne",
  ...
)

Arguments

x

a matrix or other object from which coordinates of cells can be extracted.

...

further parameters passed to plot_gene_haystack_raw().

dim1

column index or name of matrix for x-axis coordinates.

dim2

column index or name of matrix for y-axis coordinates.

assay

name of assay data for Seurat method.

coord

name of coordinates slot for specific methods.

slot

name of slot for assay data for Seurat method.


singleCellHaystack documentation built on March 28, 2021, 9:12 a.m.