sccross.models.sccross.SCCROSSModel.encode_data¶
-
SCCROSSModel.encode_data(key, adata, batch_size=128, n_sample=None)[source]¶ Compute data (cell) embedding
- Parameters
- Return type
- Returns
data_embedding – Data (cell) embedding with shape \(n_{cell} \times n_{dim}\) if
n_sampleisNone, or shape \(n_{cell} \times n_{sample} \times n_{dim}\) ifn_sampleis notNone.