Skip to contents

The function embeddings is used to get the low dimensional embeddings of iSC.MEB model.

Usage

embeddings(obj)

# S3 method for iSCMEBObj
embeddings(obj)

# S3 method for iSCMEBResObj
embeddings(obj)

Arguments

obj

An iSCMEBObj object or iSCMEBResObj object.

Value

Returns a list of embedding, whose i-th element is the embedding of i-th tissue section.

Returns a list of embedding, whose i-th element is the embedding of i-th tissue section.

Details

iSCMEBResObj is an object that contains all iSC.MEB solution information. It is the output of function fit.iscmeb, which is the main function of our package.

iSCMEBResObj is an object that contains all iSC.MEB solution information. It is the output of function fit.iscmeb, which is the body of our algorithm.

Examples

data(iSCMEBObj_toy)
#> Warning: data set 'iSCMEBObj_toy' not found
EmbeddingsList <- embeddings(iSCMEBObj_toy)