# Gene-based sample statistics

**URL:** <https://discuss.hail.is/t/gene-based-sample-statistics/1257>\
**Category:** Hail Query & hailctl\
**Created:** [January 24, 2020, 6:47pm UTC](https://discuss.hail.is/t/gene-based-sample-statistics/1257 "2020-01-24T18:47:36Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![na89](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@na89](https://discuss.hail.is/u/na89)\
**Post date:** [January 27, 2020, 6:46pm UTC](https://discuss.hail.is/t/gene-based-sample-statistics/1257/7 "2020-01-27T18:46:25Z")

</div>

yes, this did solve the issue. Thanks!  
I will just leave the link below to the relevant thread for future readers.

> [@Genotype matrix in hail 0.2](https://discuss.hail.is/t/genotype-matrix-in-hail-0-2/834):
>
> Dear Hail team, Given a genomic region, is it possible to output a genotype matrix (M individuals by N SNPs, in which the values are minor allele counts (0, 1, 2)) with hail 0.2? Thank you very much! Best regards, Wei

---

_[View the full topic](https://discuss.hail.is/t/gene-based-sample-statistics/1257)._
