Skip to contents

Append new columns with spatial relevance to colData of a SingleCellExperiment object.

Usage

sce_add_spatial_colData(sce, spatial_locs, spatial = FALSE)

Arguments

sce

A SingleCellExperiment object.

spatial_locs

A file contating spatial coordiantes

spatial

Logical vector If true, add spatial coordinates