Hello
I wanted to try out hail.plot.visualize_missingness
but I am not sure I understand it correctly. If I call hail.plot.visualize_missingness(mt.GT)
I get:
2021-09-08 09:34:26 Hail: INFO: Ordering unsorted dataset with network shuffle
TypeError Traceback (most recent call last)
in
----> 1 hl.plot.visualize_missingness(mt.GT)in visualize_missingness(entry_field, row_field, column_field, window, plot_width, plot_height)
/opt/conda/lib/python3.6/site-packages/hail/typecheck/check.py in wrapper(__original_func, *args, **kwargs)
612 def wrapper(original_func, *args, **kwargs):
613 args, kwargs = check_all(__original_func, args, kwargs, checkers, is_method=is_method)
→ 614 return original_func(*args, **kwargs)
615
616 return wrapper/opt/conda/lib/python3.6/site-packages/hail/plot/plots.py in visualize_missingness(entry_field, row_field, column_field, window, plot_width, plot_height)
1476 * hail.int64(row_field.global_position() / window))
1477 else:
→ 1478 grouping = hail.int64(window) * hail.int64(row_field / window)
1479 mt = mt.group_rows_by(
1480 _new_row_key=groupingTypeError: unsupported operand type(s) for /: ‘StructExpression’ and ‘int’
What am I doing wrong here?
Thank you for the help!