powered by
Extract cell names containing reads mapped within a given genomic region
GetCellsInRegion(tabix, region, cells = NULL)
Returns a list
Tabix object
A string giving the region to extract from the fragments file
Vector of cells to include in output. If NULL, include all cells
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