Load 10X Genomics GeoJson
Usage
Read10X_HD_GeoJson(data.dir, segmentation.type = "cell", cells = NULL)
Arguments
- data.dir
Path to the directory containing matrix data
- segmentation.type
Which segmentations to load, cell or nucleus. If using nucleus the full matrix from cells is still used
- cells
Optional cell barcodes to retain after reading the GeoJSON.
Value
An sf object containing polygon segmentations from the GeoJSON provided by 10x, formatted for downstream coordinate retrieval