How to filter to a specific locus

I wanted to filter based on a locus; however it is giving me an error.

data = mt.filter_rows(( == 1:139120)),keep=True)

I have tried several permutations of the above; the error persists

type errors, probably.


filter_rows( =='1', 139120))

3 posts were split to a new topic: How do I filter to a one megabase range of a matrix table