shimbalama / omics_dashboard

Dashboard to visualise various omics datasets from Hudson lab
MIT License
0 stars 1 forks source link

set significance to NS if no control phospho #29

Closed shimbalama closed 1 year ago

shimbalama commented 1 year ago
Screenshot 2023-08-07 at 10 43 49 am
shimbalama commented 1 year ago

WIP

shimbalama commented 1 year ago
for phos_pos, pos_df in df_melted.groupby('gene'):
            if not any(pos_df.query('test == @self.point_of_reference')[gene].notna()):
                self.df_FDR[phos_pos] = 0.0 #tiny P values due to no CTRL data need to be zeroed