traint | R Documentation |
Co-embedding ST and SC data using Seurat transfer anchors
traint( st_data, sc_data, st_assay = "Spatial", sc_assay = "scint", norm = "LogNormalize", nfeatures = 2000, cell_names = "cell_names", coord_xy = c("imagerow", "imagecol"), gene_kept = NULL, ... )
st_data |
Seurat ST data object |
sc_data |
Seurat SC data object |
st_assay |
ST assay |
sc_assay |
SC assay |
norm |
normalization method: LogNormalize/SCTransform |
nfeatures |
number of features for integration |
cell_names |
cell cluster/type column name in SC meta data |
coord_xy |
coordinates column names in ST images slot |
gene_kept |
selected genes to be kept during integration |
Seurat object of SC-ST co-embedding
st_sc_traint <- traint(st_data=brain_st, sc_data=brain_sc, st_assay='Spatial', sc_assay='scint', nfeatures=2000, cell_names='cell_names', coord_xy=c('imagerow', 'imagecol'), gene_kept=NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.