diff options
author | Zachary Sloan | 2014-07-18 17:31:41 +0000 |
---|---|---|
committer | Zachary Sloan | 2014-07-18 17:31:41 +0000 |
commit | 8c45fcf1e9228108034fab96bc7e7eaa7740f06c (patch) | |
tree | 679680c80d2b3d9f24f16741b17a09c8823d8af6 /wqflask/utility/helper_functions.py | |
parent | 8646d5fabd5e87f189f1429d71a872f8da80ba8c (diff) | |
download | genenetwork2-8c45fcf1e9228108034fab96bc7e7eaa7740f06c.tar.gz |
Added outlier highlighting
Changed order of tabs in statistics panel on trait page
Started working on heatmap
Diffstat (limited to 'wqflask/utility/helper_functions.py')
-rwxr-xr-x | wqflask/utility/helper_functions.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/wqflask/utility/helper_functions.py b/wqflask/utility/helper_functions.py index 44f5321e..ca3e2350 100755 --- a/wqflask/utility/helper_functions.py +++ b/wqflask/utility/helper_functions.py @@ -19,3 +19,18 @@ def get_species_dataset_trait(self, start_vars): #if read_genotype: #self.dataset.group.read_genotype_file() #self.genotype = self.dataset.group.genotype + + +def get_trait_db_obs(self, trait_db_list): + + self.trait_list = [] + for i, trait_db in enumerate(trait_db_list): + if i == (len(trait_db_list) - 1): + break + trait_name, dataset_name = trait_db.split(":") + #print("dataset_name:", dataset_name) + dataset_ob = data_set.create_dataset(dataset_name) + trait_ob = GeneralTrait(dataset=dataset_ob, + name=trait_name, + cellid=None) + self.trait_list.append((trait_ob, dataset_ob))
\ No newline at end of file |