Signac (version 1.13.0)

GetCellsInRegion: Get cells in a region

Description

Extract cell names containing reads mapped within a given genomic region

Usage

GetCellsInRegion(tabix, region, cells = NULL)

Value

Returns a list

Arguments

tabix

Tabix object

region

A string giving the region to extract from the fragments file

cells

Vector of cells to include in output. If NULL, include all cells

Examples

Run this code
fpath <- system.file("extdata", "fragments.tsv.gz", package="Signac")
GetCellsInRegion(tabix = fpath, region = "chr1-10245-762629")

Run the code above in your browser using DataLab