View source: R/preprocessing.R
| Format10X_GeoJson_CellID | R Documentation |
Format 10X Genomics GeoJson cell IDs
Format10X_GeoJson_CellID(ids, prefix = "cellid_", suffix = "-1", digits = 9)
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 |
Vector of formatted cell IDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.