Skip to contents

Convert sCCIgen output to a SpatialExperiment object

Usage

sCCIgen_to_SpatialExperiment(counts_file, metadata_file)

Arguments

counts_file

path to .tsv file with gene x cell counts matrix.

metadata_file

path to .tsv file with metadata. The file should contain the following columns: Cell, annotation, x.loc, y.loc, and region.

Value

a SpatialExperiment object

Examples

if (FALSE) { # \dontrun{
spe_object <- sCCIgen_to_SpatialExperiment("counts_file.tsv", "metadata_file.tsv")
} # }