goatools.rpt.prtfmt module¶
Manages print format for GOEA results.
- class goatools.rpt.prtfmt.PrtFmt[source]¶
Bases:
objectManages print format for GOEA results.
- default_fld2col_widths = {'GO': 12, 'NS': 3, 'alt': 2, 'depth': 3, 'enrichment': 1, 'level': 3, 'name': 60, 'ratio_in_pop': 12, 'ratio_in_study': 8, 'study_items': 15}¶
- default_fld2fmt = {'GO': '{GO}', 'NS': '{NS}', 'alt': '{alt:1}', 'dcnt': '{dcnt:5}', 'depth': 'D{depth:02}', 'enrichment': '{enrichment:1}', 'level': 'L{level:02}', 'name': '{name:40}', 'ratio_in_pop': '{ratio_in_pop:>11}', 'ratio_in_study': '{ratio_in_study:>7}', 'reldepth': 'D{reldepth:02}', 'study_count': '{study_count:4}', 'study_items': '{study_items}', 'tcnt': '{tcnt:7,}', 'tfreq': '{tfreq:8.6f}', 'tinfo': '{tinfo:5.2f}'}¶
- prtfmt_dflt = '{GO} {NS} {p_uncorrected:5.2e} {ratio_in_study:>6} {ratio_in_pop:>9} {depth:02} {name:40} {study_items}\n'¶