Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change width of Manhatan plots #247

Open
adbeggs opened this issue Nov 29, 2024 · 1 comment
Open

Change width of Manhatan plots #247

adbeggs opened this issue Nov 29, 2024 · 1 comment

Comments

@adbeggs
Copy link

adbeggs commented Nov 29, 2024

Hi,

I apologise for such a simple question, but I can't seem to work out how to modify the plotting width of Manhattan plots so the X axis (chromosomes) is not squashed:

image

If I plot within a X windows session I can manually drag it so it is the right width thus:

image

Is there any way to set this in CNVpytor so the output doesn't look so compressed? I am trying to automate it as part of a pipeline. Many thanks in advance

@arpanda
Copy link
Member

arpanda commented Nov 29, 2024

Hi @adbeggs,
The panel_size parameter allows you to adjust the height and width. When saving results to a file, it uses the panel_size values (default: 8, 6). Here’s an example for the view mode:

cnvpytor -root <pytor file> -view 100000
cnvpytor> set panel_size 12 6
    * panel_size: [12.0, 6.0]
cnvpytor> set output_filename test.png
    * output_filename: test.png
cnvpytor> manhattan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants