Format10X_GeoJson_CellID: Format 10X Genomics GeoJson cell IDs

View source: R/preprocessing.R

Format10X_GeoJson_CellIDR Documentation

Format 10X Genomics GeoJson cell IDs

Description

Format 10X Genomics GeoJson cell IDs

Usage

Format10X_GeoJson_CellID(ids, prefix = "cellid_", suffix = "-1", digits = 9)

Arguments

ids

Vector of cell IDs to format

prefix

Optional prefix string

suffix

Optional suffix string

digits

Number of digits to zero-pad

A helper function to format cell IDs from the segmentation GeoJson to the same type as in the matrix.h5 The GeoJson has cell IDs as integers (eg 1). They need to be in the format cellid_000000001-1

Value

Vector of formatted cell IDs


Seurat documentation built on Dec. 14, 2025, 9:07 a.m.