Perform spatial deconvolution analysis using RCTD model
RCTD_run(
sc_data,
cell_type_columns,
st_count,
st_coord,
output_dir,
output_name
)
a Seurat object, denote the single cell RNA reference panel data.
a string, the cluster name in the meta data of sc_obj.
a sparse matrix, denote the count matrix of the spatial transcriptomics data to be deconvoluted.
a matrix with two columns, the spatial coordinates.
a string, specify the output directory.
a string, the file name used.
write the results as csv format in the output_dir.