View source: R/CARD.SCMapping.R
AssignSCcords | R Documentation |
The function to assign the spatial location information for each single cell
AssignSCcords(MappintSpotCellCor, Cords_new, numCell, sc_eset, ct.varname)
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 |
Return the assigned spatial location information for the mapped single cell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.