Description Usage Arguments Value Examples
View source: R/dim_coord_barcode.R
dim_coord_barcode() returns the rownames of cells based on the coordiates of a dimensionality reduction projection (e.g. t-SNE, UMAP).
1 | dim_coord_barcode(dim_proj, x1, x2, y1, y2)
|
x1 |
lower limit of x-coordinates |
x2 |
higher limit of x-coordinates |
y1 |
lower limit of y-coordinates |
y2 |
higher limit of y-coordinates |
dim_reduction |
a dataframe specifying the coordinates of a dimensionality reduction output (e.g. t-SNE, UMAP etc.). Each column should specify one dimension. Rownames should correspond to some of identifier for cells (e.g. barcode). |
A vector of rownames of dim_reduction
1 | dim_coord_barcode(UMAP_proj, 1, 1.5, 2, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.