@@ -71,12 +71,18 @@ def __get_cnbtaxonomy(df):
71
71
return df ["cnbtaxonomy" ].value_counts ().to_dict ()
72
72
73
73
74
- def __get_samplelocalid (df ):
75
- return df ["samplelocalid" ].value_counts ().to_dict ()
74
+ def __get_genotypes (df ):
75
+ """
76
+ Write documentation here.
77
+ """
78
+ return df ["genotype" ].unique ()
76
79
77
80
78
- def __get_genotype (df ):
79
- return df ["genotype" ].value_counts ().to_dict ()
81
+ def __get_genotype_frequency (df ):
82
+ """
83
+ Write documentation here.
84
+ """
85
+ return df ["genotypes" ].value_counts ().to_dict ()
80
86
81
87
82
88
def __get_generalmodality (df ):
@@ -98,16 +104,6 @@ def __get_contributors(df):
98
104
return df ["contributorname" ].unique ()
99
105
100
106
101
- def __get_project_names (df ):
102
- """
103
- Gets the unique list of project names.
104
-
105
- Input: dataframe
106
- Output: list
107
- """
108
- return df ["project" ].unique ()
109
-
110
-
111
107
def __get_list_of_projects (df ):
112
108
"""
113
109
Get the list of names for unique projects
@@ -139,12 +135,6 @@ def report():
139
135
140
136
df = today ()
141
137
142
- def __get_genotype_frequency (df ):
143
- """
144
- Write documentation here.
145
- """
146
- return df ["genotypes" ].value_counts ().to_dict ()
147
-
148
138
report = {}
149
139
report ["date" ] = tdate
150
140
report ["number_of_datasets" ] = __get_number_of_datasets (df )
0 commit comments