bioinfokit icon indicating copy to clipboard operation
bioinfokit copied to clipboard

Manhattan Plot Out of Order

Open hpoisner opened this issue 1 year ago • 2 comments

Ive been using your software to make manhattan plots and something in your sorting step is inverting the chromosomes. So they are all plotting end - start rather than start - end but still 1-22

hpoisner avatar Mar 07 '23 17:03 hpoisner

I ran a modified version copying over the relevant functions and its this line here
df = df.loc[pd.to_numeric(df[chr], errors='coerce').sort_values().index] I commented it out and converted my chromosomes to integers everything is working now

hpoisner avatar Mar 07 '23 17:03 hpoisner

Thank you for reporting.

reneshbedre avatar Apr 30 '23 21:04 reneshbedre