Exemple #1
0
                      isGrid=False,
                      isLabel=False,
                      style=None,
                      FileName='Trajectories_KMeans_tSNE_Pred.pdf')

vis.f_GoI(List_TP)
vis.f_plot_trajectory(isLegend=True,
                      isGoI=True,
                      isOutput=True,
                      isGrid=False,
                      isLabel=False,
                      style=None,
                      FileName='Trajectories_KMeans_tSNE_TP.pdf')

## Visualization by tSNE-signature
vis.f_set_df_tsne(ops.sig_tSNE)
vis.f_GoI(List_Cluster)
vis.f_plot_TSNE(FileName='TSNE_KMeans_tSNE_Cluster.pdf',
                isTrans=False,
                isLabel=False,
                isGoI=True,
                isOutput=True)
vis.f_GoI(List_Pred)
vis.f_plot_TSNE(FileName='TSEN_KMeans_tSNE_Pred.pdf',
                isTrans=False,
                isLabel=False,
                isGoI=True,
                isOutput=True)
vis.f_GoI(List_TP)
vis.f_plot_TSNE(FileName='TSEN_KMeans_tSNE_TP.pdf',
                isTrans=False,
Exemple #2
0
# Visulaize Validated TFs
vis.f_GoI(TP_set)
vis.f_plot_trajectory(isLegend=True,
                      isGoI=True,
                      isOutput=True,
                      isGrid=False,
                      isLabel=False,
                      style=None,
                      FileName='Trajectories_HMM_TP.pdf')

## Plot tSNE signature of cluseter
ops = Operations()
X = ops.f_Inhibitors_upsidedown()
ops = Operations(X)
ops.f_get_TSNE()
vis.f_set_df_tsne(ops.df_tsne)

vis.f_GoI(glist)
vis.f_plot_TSNE(FileName='TSNE_HMM_Cluster.pdf',
                isTrans=True,
                isLabel=False,
                isGoI=True,
                isOutput=True)
vis.f_GoI(Pred_set)
vis.f_plot_TSNE(FileName='TSEN_HMM_Pred.pdf',
                isTrans=True,
                isLabel=False,
                isGoI=True,
                isOutput=True)
vis.f_GoI(TP_set)
vis.f_plot_TSNE(FileName='TSEN_HMM_TP.pdf',