TypeError: ("make_label() missing 3 required positional arguments: 'pvalue',
When I use the function 'snpsea-heatmap', it always shows 'TypeError: ("make_label() missing 3 required positional arguments: 'pvalue', 'nu 'occurred at index 53'', Even when I am using the data from the example.
I changed the code 'def make_label(condition, pvalue, nulls, reps):'in line74 into
def make_label(x):
76 condition = x[0]
77 pvalue = x[1]
78 nulls = x[2]
79 reps = x[3]
and solved this problem
Great, thanks for reporting and solving your own problem!
I have a hunch that you're using a different version of the code than the one available in this Github repo.
You can see the make_label function in the Github version of the code here:
https://github.com/slowkow/snpsea/blob/master/bin/snpsea-heatmap#L79-L84
Is it different than your code?
Thanks for your reply!
By the way, I also want to ask whether the datasets used in this software, such as Lango2010.txt.gz , NCBIgenes2013.bed.gz and TGP2011.bed.gz is mapped to GRCh37/hg19? Cause I noticed that your SNP sets are all mapped to hg19.