def tSNE_pairwise(D):
"""
From clustering_on_transcript_compatibility_counts, see github for MIT license
"""
tsne = manifold.TSNE(n_components=2, random_state=0, metric='precomputed', n_iter=2000, verbose=1);
X_tsne = tsne.fit_transform(D);
return X_tsne
# Plot function with Zeisel's colors corresponding to labels
评论列表
文章目录