update an SCE with simba edge scores

add_simba_scores(embs, sce)

Arguments

embs

output of sce_to_embeddings

sce

the associated sce

Value

SCE updated with altExp giving the simba scores

Examples

data(nn50)
data(t3k)
t3k = add_simba_scores(nn50, t3k)
t3k
#> class: SingleCellExperiment 
#> dim: 4780 2700 
#> metadata(0):
#> assays(3): counts logcounts disc
#> rownames(4780): LYZ S100A9 ... TRAPPC3L ATP5MGL
#> rowData names(3): ENSEMBL_ID Symbol_TENx Symbol
#> colnames: NULL
#> colData names(15): Sample Barcode ... celltype2 celltype3
#> reducedDimNames(0):
#> mainExpName: NULL
#> altExpNames(1): sprobs