mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-23 03:08:12 +08:00
Checkpoint
This commit is contained in:
@@ -363,7 +363,10 @@ class DataAdaptor(metaclass=ABCMeta):
|
||||
|
||||
print(f"scale {scale}, translate {translate}")
|
||||
|
||||
normalized_layout = normalized_layout.astype(dtype=np.float32)
|
||||
A = embedding * 0.17011142
|
||||
A = np.column_stack([A[:, 0] / 1921, A[:, 1] / 2000])
|
||||
|
||||
normalized_layout = A.astype(dtype=np.float32)
|
||||
return normalized_layout
|
||||
|
||||
def layout_to_fbs_matrix(self, fields):
|
||||
|
||||
Reference in New Issue
Block a user