Beispiel #1
0
 def phenotype_for_js(self, exp, *args, **kwargs):
     es = None
     for input_name in self.es_inputs:
         es = self.get_input_var(input_name)
         if es is not None:
             break
     res = prepare_phenotype_for_js_from_es(es)
     res["features"] = self.features
     return res
Beispiel #2
0
 def phenotype_for_js(self, exp, *args, **kwargs):
     es = None
     for input_name in self.es_inputs:
         es = self.get_input_var(input_name)
         if es is not None:
             break
     res = prepare_phenotype_for_js_from_es(es)
     res["features"] = self.features
     return res
    def phenotype_for_js(self, exp, *args, **kwargs):
        m_rna_es = self.get_out_var("m_rna_es")
        mi_rna_es = self.get_out_var("mi_rna_es")
        methyl_es = self.get_out_var("methyl_es")
        es = None
        if m_rna_es is not None:
            es = m_rna_es
        elif mi_rna_es is not None:
            es = mi_rna_es
        elif methyl_es is not None:
            es = methyl_es
        if es is None:
            raise Exception("No data was stored before")

        return prepare_phenotype_for_js_from_es(es)
Beispiel #4
0
    def phenotype_for_js(self, exp, *args, **kwargs):
        m_rna_es = self.get_out_var("m_rna_es")
        mi_rna_es = self.get_out_var("mi_rna_es")
        methyl_es = self.get_out_var("methyl_es")
        es = None
        if m_rna_es is not None:
            es = m_rna_es
        elif mi_rna_es is not None:
            es = mi_rna_es
        elif methyl_es is not None:
            es = methyl_es
        if es is None:
            raise Exception("No data was stored before")

        return prepare_phenotype_for_js_from_es(es)
Beispiel #5
0
    def phenotype_for_js(self, exp, *args, **kwargs):
        headers_options = {
            "custom_title_prefix_map": [
                ("Sample_title", "Title"),
                ("Sample_description", "Description"),
                ("Sample_characteristics", "Characteristics"),
                ("Sample_organism", "Organism"),
                ("Sample_geo_accession", "GEO #"),

                ("Sample_", ""),
            ],
            "prefix_order": [
                "Sample_geo_accession",
                "Sample_title",
                "Sample_description",
                "Sample_contact",
                "Sample_characteristics",
            ],
            "prefix_hide": {
                "Sample_contact",
                "Sample_channel",
                "Sample_data_row_count",
                "Sample_data",
                "Sample_platform",
                "Sample_growth",
                "Sample_series_id",
                "Sample_status",
                "Sample_extract",
                "Sample_supplementary_file",
                "Sample_hyb",
                "Sample_label",
                "Sample_source",
                "Sample_last_update",
                "Sample_molecule",
                "Sample_organism",
                "Sample_scan",
                "Sample_taxid",
                "Sample_type",
                "Sample_submission",
            }
        }
        return prepare_phenotype_for_js_from_es(
            self.get_out_var("expression_set"), headers_options)
Beispiel #6
0
 def phenotype_for_js(self, exp, *args, **kwargs):
     headers_options = {
         "custom_title_prefix_map": [
             ("Sample_title", "Title"),
             ("Sample_description", "Description"),
             ("Sample_characteristics", "Characteristics"),
             ("Sample_organism", "Organism"),
             ("Sample_geo_accession", "GEO #"),
             ("Sample_", ""),
         ],
         "prefix_order": [
             "Sample_geo_accession",
             "Sample_title",
             "Sample_description",
             "Sample_contact",
             "Sample_characteristics",
         ],
         "prefix_hide": {
             "Sample_contact",
             "Sample_channel",
             "Sample_data_row_count",
             "Sample_data",
             "Sample_platform",
             "Sample_growth",
             "Sample_series_id",
             "Sample_status",
             "Sample_extract",
             "Sample_supplementary_file",
             "Sample_hyb",
             "Sample_label",
             "Sample_source",
             "Sample_last_update",
             "Sample_molecule",
             "Sample_organism",
             "Sample_scan",
             "Sample_taxid",
             "Sample_type",
             "Sample_submission",
         }
     }
     return prepare_phenotype_for_js_from_es(
         self.get_out_var("expression_set"), headers_options)
Beispiel #7
0
 def phenotype_for_js(self, exp, *args, **kwargs):
     return prepare_phenotype_for_js_from_es(self.get_out_var("expression_set"))
Beispiel #8
0
 def phenotype_for_js(self, exp, *args, **kwargs):
     return prepare_phenotype_for_js_from_es(self.get_out_var("expression_set"))