CelLink.model.Cellink.visualize_integration
- static Cellink.visualize_integration(ann1_full_batch, ann2_full_batch, arr2_imputed, datatype, matched_cellids, direction=1, loc='upper right')[source]
Joint embed the arr and arr_imputed from alignment. Visualize the joint embedding results. This is done batch-to-batch
Parameters:
- arr1: np.array
the original value of arr1
- arr2_imputed: np.array
the imputed features of arr2 from arr1
- datatype: list
the data type of arr and arr2_imputed
- direction: int,
If direction = 1, jointly embed arr1 and arr2_imputed. If direction = 2, jointly embed arr2 and arr1_imputed.
- loc: str,
The position of the legend in the figure. Its values can be “upper left”, “upper right”, “bottom left”, “bottom right”.