Skip to contents

Read Tangram mapping-derived composition outputs

Usage

read_tangram(path, spot_col = NULL, normalize = TRUE, strict = TRUE)

Arguments

path

File path to exported Tangram mapping-derived composition table.

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.