AssignSCcords: The function to assign the spatial location information for...

View source: R/CARD.SCMapping.R

AssignSCcordsR Documentation

The function to assign the spatial location information for each single cell

Description

The function to assign the spatial location information for each single cell

Usage

AssignSCcords(MappintSpotCellCor, Cords_new, numCell, sc_eset, ct.varname)

Arguments

MappintSpotCellCor

a mapped correlation matrix indicating the relashionship between each measured spatial location and the single cell in the scRNAseq reference

Cords_new

output from the function getHighresCords

numCell

a numeric value indicating the number of single cells in each measured location, we suggest 20 for ST technology, 7 for 10x Viisum and 2 for Slide-seq

sc_eset

a single cell experiment object stored in CARD object

ct.varname

character, the name of the column in metaData that specifies the cell type annotation information, stroed in CARD object

Value

Return the assigned spatial location information for the mapped single cell


YingMa1993/CARD documentation built on Feb. 14, 2024, 12:24 p.m.