spateo.external.CAST.CAST_Projection¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents¶
- spateo.external.CAST.CAST_Projection.space_project(sdata_inte, idx_source, idx_target, raw_layer, source_sample, target_sample, coords_source, coords_target, output_path, source_sample_ctype_col, target_cell_pc_feature=None, source_cell_pc_feature=None, k2=1, ifplot=True, umap_feature='X_umap', ave_dist_fold=2, batch_t='', alignment_shift_adjustment=50, color_dict=None, adjust_shift=False, metric_t='cosine', working_memory_t=1000)[source]¶
- spateo.external.CAST.CAST_Projection.average_dist(coords, quantile_t=0.99, working_memory_t=1000, strategy_t='convex')[source]¶
- spateo.external.CAST.CAST_Projection.group_shift(feat_target, feat_source, coords_target_t, coords_source_t, working_memory_t=1000, pencentile_t=0.8, metric_t='cosine')[source]¶
- spateo.external.CAST.CAST_Projection.physical_dist_priority_project(feat_target, feat_source, coords_target, coords_source, source_feat=None, k2=1, k_extend=20, pdist_thres=200, working_memory_t=1000, metric_t='cosine')[source]¶
- spateo.external.CAST.CAST_Projection.sparse_mask(idw_t, ind: numpy.ndarray, n_cols: int, dtype=np.float64)[source]¶
- spateo.external.CAST.CAST_Projection.cosine_IDW(cosine_dist_t, k2=5, eps=1e-06, need_filter=True, ifavg=False)[source]¶
- spateo.external.CAST.CAST_Projection.evaluation_project(physical_dist, project_ind, coords_target, coords_source, y_true_t, y_pred_t, y_source, output_path, source_sample_ctype_col, umap_target=None, umap_source=None, source_sample=None, target_sample=None, cdists=None, batch_t='', exclude_group='Other', color_dict=None, umap_examples=False)[source]¶
- spateo.external.CAST.CAST_Projection.confusion_mat_plot(y_true_t, y_pred_t, filter_thres=None, withlabel=True, fig_x=60, fig_y=20)[source]¶