Read DSTG deconvolution outputs
Usage
read_dstg(path, spot_col = NULL, normalize = TRUE, strict = TRUE)
Arguments
- path
File path to exported DSTG results (csv/tsv/txt/rds).
- spot_col
Optional explicit spot/barcode column name.
- normalize
If TRUE, rows are normalized to sum 1 when possible.
- strict
If TRUE, ambiguous parsing/transposition raises clear errors.
Value
A numeric spot-by-celltype matrix.