Ejemplo n.º 1
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.pca_projection = None  # type: Optional[Table]
     self.initialization = None  # type: Optional[np.ndarray]
     self.affinities = None      # type: Optional[openTSNE.affinity.Affinities]
     self.tsne_embedding = None  # type: Optional[manifold.TSNEModel]
     self.iterations_done = 0    # type: int
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     # inputs
     self.reference_data = None  # type: Optional[Table]
     self.secondary_data = None  # type: Optional[Table]
     self.genes = None  # type: Optional[Table]
     # annotations
     self.scores = None  # type: OWAnnotateProjection.Scores
     self.clusters = None  # type: OWAnnotateProjection.Clusters
     self.__invalidate_scores()
     self.__invalidate_clusters()
Ejemplo n.º 3
0
    def __init__(self):
        OWDataProjectionWidget.__init__(self)
        ConcurrentWidgetMixin.__init__(self)
        #: Input dissimilarity matrix
        self.matrix = None  # type: Optional[DistMatrix]
        #: Data table from the `self.matrix.row_items` (if present)
        self.matrix_data = None  # type: Optional[Table]
        #: Input data table
        self.signal_data = None

        self.embedding = None  # type: Optional[np.ndarray]
        self.effective_matrix = None  # type: Optional[DistMatrix]

        self.graph.pause_drawing_pairs()

        self.size_model = self.gui.points_models[2]
        self.size_model.order = \
            self.gui.points_models[2].order[:1] \
            + ("Stress", ) + \
            self.gui.points_models[2].order[1:]
Ejemplo n.º 4
0
    def __init__(self):
        OWDataProjectionWidget.__init__(self)
        ConcurrentWidgetMixin.__init__(self)
        #: Input dissimilarity matrix
        self.matrix = None  # type: Optional[DistMatrix]
        #: Data table from the `self.matrix.row_items` (if present)
        self.matrix_data = None  # type: Optional[Table]
        #: Input data table
        self.signal_data = None

        self.embedding = None  # type: Optional[np.ndarray]
        self.effective_matrix = None  # type: Optional[DistMatrix]

        self.graph.pause_drawing_pairs()

        self.size_model = self.gui.points_models[2]
        self.size_model.order = \
            self.gui.points_models[2].order[:1] \
            + ("Stress", ) + \
            self.gui.points_models[2].order[1:]
Ejemplo n.º 5
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.embedding = None  # type: Optional[np.ndarray]
Ejemplo n.º 6
0
 def __init__(self):
     OWDataProjectionWidget.__init__(self)
     ConcurrentWidgetMixin.__init__(self)
     self.embedding = None  # type: Optional[np.ndarray]