dim_coord_barcode: Find rownames of cells from coordinates of dimensionality...

Description Usage Arguments Value Examples

View source: R/dim_coord_barcode.R

Description

dim_coord_barcode() returns the rownames of cells based on the coordiates of a dimensionality reduction projection (e.g. t-SNE, UMAP).

Usage

1
dim_coord_barcode(dim_proj, x1, x2, y1, y2)

Arguments

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).

Value

A vector of rownames of dim_reduction

Examples

1
dim_coord_barcode(UMAP_proj, 1, 1.5, 2, 3)

jacobheng/cellwrangler documentation built on Aug. 12, 2019, 6:49 a.m.